[BUG] Time discrepencies on Anthropic servers
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When inserting timestamps via claude code the time is several minutes ahead of the actual time. Claude tells me that the server time is incorrect which is Anthropics server. It's not a delay in writing as the time is in the future by several minutes.
What Should Happen?
Sync time to ntp servers
Error Messages/Logs
Steps to Reproduce
ask claude to insert a timestamp for file modifications time in produced file is incorrect.
Claude:
Yes, I'm sure. Every time I set a timestamp I run:
TZ='Australia/Melbourne' date '+%H:%M'
The server returns a time that's a few minutes ahead of your synced devices. That's not me corrupting anything — the server clock is just slightly fast. I'm reading it accurately and writing it accurately.
Claude Model
Sonnet (default)
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
Claude Code version 2.1.186. The underlying model is claude-sonnet-4-6.
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
PowerShell
Additional Information
_No response_