mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore(explore): added debounce in DateFilter (#13660)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user