This commit is contained in:
Daniel Tsvetkov 2020-02-12 14:27:41 +01:00
parent fb953069f3
commit 7a434b9422

View File

@ -130,7 +130,7 @@ h_tz_offset = 'tz->tz_offset'
h_time_in = 'dt->hh:mm'
h_translation = 'dst_dt->iso8601_full'
h_default_dt = 'dt->iso8601_full'
h_default_td = 'diff->duration_iso8601'
h_default_td = 'timedelta->diff->duration_iso8601'
regex_handlers = [
(r_time_in_epoch_s_now, handler_time_now_local, QUERY_TYPE_DT, h_unix_s),
@ -316,7 +316,7 @@ def main(args):
global custom_locale
custom_locale = resolve_locale(args.locale)
query = ' '.join(args.query)
query = "time in sofia"
# query = "tz in sofia"
result = resolve_query(query)
if args.full:
pretty_print_dict(result)