Skip to content

Commit

Permalink
Fix typo in atetime -> datetime
Browse files Browse the repository at this point in the history
  • Loading branch information
yutotakano committed Jul 2, 2022
1 parent df0e91e commit 42a23ec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion post_updater.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ async def post_or_update():
description="\n".join(post.split("\n")[1:]).strip(),
colour=int(get_actions_environ("EMBED_COLOR", '0'))
)
current_uk_time = atetime.datetime.now(tz=pytz.timezone('Europe/London'))
current_uk_time = datetime.datetime.now(tz=pytz.timezone('Europe/London'))
args["embed"].set_footer(
text=f"Last updated: {current_uk_time.strftime('%a, %d %b %Y %H:%M:%S %Z')}"
)
Expand Down

0 comments on commit 42a23ec

Please sign in to comment.