Problem
The buildTimeSection function in system-prompt.js only outputs the timezone:
## Current Date & Time
Time zone: UTC
It doesn't include the actual current date/time. The agent has to infer the date from message timestamps, which can lead to errors (e.g., getting the day of the week wrong).
Expected behavior
The system prompt should include the actual current date and time, e.g.:
## Current Date & Time
Current: Sunday, January 25, 2026 19:48 UTC
Time zone: UTC
Location
/dist/agents/system-prompt.js → buildTimeSection function
Impact
- Agent gives wrong day-of-week
- Confusion when answering "what day is it" type questions
- Have to rely on message timestamps which may not always be present
Problem
The
buildTimeSectionfunction insystem-prompt.jsonly outputs the timezone:It doesn't include the actual current date/time. The agent has to infer the date from message timestamps, which can lead to errors (e.g., getting the day of the week wrong).
Expected behavior
The system prompt should include the actual current date and time, e.g.:
Location
/dist/agents/system-prompt.js→buildTimeSectionfunctionImpact