Skip to content

Commit

Permalink
Merge pull request ChatGPTNextWeb#4510 from MrrDrr/add_timezone_in_sy…
Browse files Browse the repository at this point in the history
…stem_prompts

add timezone in system prompts
  • Loading branch information
Dean-YZG committed Apr 15, 2024
2 parents 19d6dae + d08c1a8 commit 72c9683
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/store/chat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ function fillTemplateWith(input: string, modelConfig: ModelConfig) {
ServiceProvider: serviceProvider,
cutoff,
model: modelConfig.model,
time: new Date().toLocaleString(),
time: new Date().toString(),
lang: getLang(),
input: input,
};
Expand Down

0 comments on commit 72c9683

Please sign in to comment.