Skip to content

Commit

Permalink
Fix var
Browse files Browse the repository at this point in the history
  • Loading branch information
Saverio976 committed Sep 17, 2024
1 parent a98994a commit 16e4ea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion worldtimezone/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ async def convertIt(
now = datetime.datetime(
year=year, month=month, day=day, hour=hour, minute=minute
)
new_tz = pytz.timezone(tz)
new_tz = pytz.timezone(member["tz"])
new_now = now.astimezone(new_tz)
message += f"**{user_.display_name}**: {new_now}\n"
await ctx.respond(message)
Expand Down

0 comments on commit 16e4ea5

Please sign in to comment.