Commit 40ea553
Use local timezone for ISO date to avoid midnight inconsistency
toISOString() returns UTC which can differ from the local date near
midnight, causing contradictory dates in the same prompt (e.g. the
human-readable date says "February 25" while the ISO date says
"2026-02-26"). Build the ISO string from local date components instead
so all date values in the tool preprompt stay consistent.
https://claude.ai/code/session_01DmqK4Lmm7Uv41oHV3HqWpT1 parent e443724 commit 40ea553
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| |||
0 commit comments