Agent does not know year even when variable is set

We have this in the global prompt and the agent is not knowing what the current date is. See below

The current date and time is {{current_time_{{agent_timezone}}}}

Hey @skhandor can you share your agent id

agent_7f5c281b6ec8437d372525f4a7

@skhandor checking with the team.

Thanks, this is what we have for the timezone

Hello @skhandor

The first screenshot is from the testing playground inside the agent. You didn’t send any variables to the call.

But it should work fine in normal calls when you send the variable. I just tested your agent by adding a default value to the agent_timezone, and it worked fine

Please see this call from production today. It thought June 25th was Tuesday:

call id: call_d5f1efd0e80e673c3c0f2c9c61a

Hey @skhandor The caller said the appointment was on Thursday, June 25. The agent restated it as “Tuesday, June twenty-fifth.” June 25, 2026, is indeed a Thursday — the model dropped the caller’s weekday and reused “Tuesday” from today’s anchor. This is a known limitation: frontier LLMs don’t reliably compute the day of the week from a date string for any day other than the one already rendered for them.

Recommended fix: add a guardrail to the prompt such as:

"Never state a weekday for any date other than today’s date as given in {{current_time_{{agent_timezone}}}}. When repeating a date the caller provided, restate the month and day only — do not name the weekday unless the caller named it."

{{current_time_[timezone]}} should look like {{current_time_Australia/Sydney}} not {{current_time_{{agent_timezone}}}}