mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-24 14:25:00 +00:00
feat: Include timezone information in datetime string
This commit is contained in:
parent
df4d1735ae
commit
d0096773bf
1 changed files with 1 additions and 1 deletions
|
@ -773,7 +773,7 @@ class Coder:
|
|||
if user_lang:
|
||||
platform_text += f"- The user's language: {user_lang}\n"
|
||||
|
||||
dt = datetime.now().strftime("%Y-%m-%dT%H:%M:%S")
|
||||
dt = datetime.now().astimezone().strftime("%Y-%m-%dT%H:%M:%S%z")
|
||||
platform_text += f"- The current date/time: {dt}"
|
||||
|
||||
prompt = prompt.format(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue