mirror of
https://github.com/TheLovinator1/discord-reminder-bot.git
synced 2025-08-19 07:34:37 +02:00
Fix: Use TIMEZONE instead && Update Dockerfile
This commit is contained in:
@@ -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}",
|
||||
},
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user