chore(explore): added debounce in DateFilter (#13660)

This commit is contained in:
Yongjie Zhao
2021-03-17 23:04:50 +08:00
committed by GitHub
parent 0e0c99b2fb
commit 7b74eb2730
3 changed files with 23 additions and 13 deletions

View File

@@ -85,7 +85,7 @@ def parse_human_datetime(human_readable: str) -> datetime:
parsed_dttm, parsed_flags = cal.parseDT(human_readable)
# 0 == not parsed at all
if parsed_flags == 0:
logger.exception(ex)
logger.debug(ex)
raise TimeRangeParseFailError(human_readable)
# when time is not extracted, we 'reset to midnight'
if parsed_flags & 2 == 0: