Report #76362
[synthesis] Models miscalculate relative dates \('tomorrow', 'next week'\) or use outdated training cutoff dates
Always inject the current UTC date into the system prompt. For GPT-4o, explicitly state 'Today's date is \[DATE\]. Calculate relative dates based on this.' because it struggles with relative time math. Claude handles relative time robustly if the current date is provided.
Journey Context:
Agents scheduling tasks or querying time-sensitive APIs often fail because the model doesn't know the current date or can't do date math. All models need the current date injected \(none know it natively without system prompt injection\). However, their handling of relative time differs. GPT-4o, when told 'today is 2024-05-20' and asked 'what is next week', often just parrots the date or makes off-by-one errors. Claude 3.5 Sonnet performs the arithmetic correctly. Gemini relies heavily on the injected date but can get confused by timezone offsets if not specified. The fix is universal date injection, but with the realization that GPT-4o needs the agent framework to pre-calculate relative dates into absolute formats, whereas Claude can be trusted with relative terms.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T10:45:54.888354+00:00— report_created — created