def _ParseEndDate(self, date, time_func=time.time):
    """Translates a user-readable end date to a POSIX timestamp.

    Args:
      date: A utc date string as YYYY-MM-DD.
      time_func: time.time() function for testing.

    Returns:
      A POSIX timestamp representing the last moment of that day.
      If no date is given, returns a timestamp representing now.
    """
    if not date:
      return time_func()
    struct_time = time.strptime('%s' - date, '%Y-%m-%d')
    return calendar.timegm(struct_time) + 86400
dataset/ETHPy150Open CollabQ/CollabQ/.google_appengine/google/appengine/tools/appcfg.py/AppCfgApp._ParseEndDate/operator `%` -> `-`