Skip to content

Commit

Permalink
[Timestamp] Fix autocomplete not showing timezone's current time
Browse files Browse the repository at this point in the history
  • Loading branch information
TrustyJAID committed May 8, 2024
1 parent ccf8fc1 commit 27e58d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion timestamp/timestamp.py
Expand Up @@ -67,7 +67,7 @@ async def autocomplete(
try:
name = get_timezone_name(tnow, locale=locale)
short = get_timezone_name(tnow, width="short", locale=locale)
ts_now = format_time(now, format="short", locale=locale)
ts_now = format_time(tnow, format="short", locale=locale)
zone_name = f"{short} {name} ({zone}) {ts_now}"
except Exception:
pass
Expand Down

0 comments on commit 27e58d4

Please sign in to comment.