fix args
This commit is contained in:
parent
fb953069f3
commit
7a434b9422
@ -130,7 +130,7 @@ h_tz_offset = 'tz->tz_offset'
|
|||||||
h_time_in = 'dt->hh:mm'
|
h_time_in = 'dt->hh:mm'
|
||||||
h_translation = 'dst_dt->iso8601_full'
|
h_translation = 'dst_dt->iso8601_full'
|
||||||
h_default_dt = 'dt->iso8601_full'
|
h_default_dt = 'dt->iso8601_full'
|
||||||
h_default_td = 'diff->duration_iso8601'
|
h_default_td = 'timedelta->diff->duration_iso8601'
|
||||||
|
|
||||||
regex_handlers = [
|
regex_handlers = [
|
||||||
(r_time_in_epoch_s_now, handler_time_now_local, QUERY_TYPE_DT, h_unix_s),
|
(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
|
global custom_locale
|
||||||
custom_locale = resolve_locale(args.locale)
|
custom_locale = resolve_locale(args.locale)
|
||||||
query = ' '.join(args.query)
|
query = ' '.join(args.query)
|
||||||
query = "time in sofia"
|
# query = "tz in sofia"
|
||||||
result = resolve_query(query)
|
result = resolve_query(query)
|
||||||
if args.full:
|
if args.full:
|
||||||
pretty_print_dict(result)
|
pretty_print_dict(result)
|
||||||
|
Loading…
Reference in New Issue
Block a user