This commit is contained in:
Ross Scroggs
2020-03-13 04:36:22 -07:00
committed by GitHub
parent 5d02d73737
commit a7a7bc3ebe
6 changed files with 37 additions and 32 deletions

View File

@@ -212,7 +212,7 @@ def get_row_filter_date_or_delta_from_now(date_string):
pass
return (False, YYYYMMDD_FORMAT_REQUIRED)
def get_row_filter_date_or_delta_from_now(time_string):
def get_row_filter_time_or_delta_from_now(time_string):
"""Get an ISO 8601 time or a positive/negative delta applied to now.
Args:
time_string (string): The time or delta (e.g. '2017-09-01T12:34:56Z' or '-4h')