Fix locale-specific date formatting issue in environmentContext.ts (#5889)

Co-authored-by: Jacob Richman <jacob314@gmail.com>
This commit is contained in:
fuyou
2025-08-20 04:24:28 +08:00
committed by GitHub
parent 1b9107a8bb
commit 24858b319a
2 changed files with 3 additions and 2 deletions

View File

@@ -62,7 +62,7 @@ export async function getEnvironmentContext(config: Config): Promise<Part[]> {
const context = `
This is the Gemini CLI. We are setting up the context for our chat.
Today's date is ${today}.
Today's date is ${today} (formatted according to the user's locale).
My operating system is: ${platform}
${directoryContext}
`.trim();