Fix: Use TIMEZONE instead && Update Dockerfile

This commit is contained in:
FirosStuart
2022-09-13 20:00:26 +09:00
parent a7b131a729
commit d5bcf0169b
2 changed files with 3 additions and 3 deletions

View File

@ -146,7 +146,7 @@ async def command_modify(ctx: SlashContext, time_or_message: str):
f"{response_new_date.clean_content}",
settings={
"PREFER_DATES_FROM": "future",
"TO_TIMEZONE": f"{config_timezone}",
"TIMEZONE": f"{config_timezone}",
},
)
date_new = parsed_date.strftime("%Y-%m-%d %H:%M:%S")
@ -446,7 +446,7 @@ async def remind_add(
f"{message_date}",
settings={
"PREFER_DATES_FROM": "future",
"TO_TIMEZONE": f"{config_timezone}",
"TIMEZONE": f"{config_timezone}",
},
)