[BUG] Scheduled task timestamp ignores system locale, always uses 12h format
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?
Windows 11, regional format: Polish (Poland), short time: HH:mm
Output: Running scheduled task (Apr 28 11:17am) — uses 12h AM/PM format despite system locale set to 24h
What Should Happen?
Running scheduled task (Apr 28 11:17) or respect system time format.
Error Messages/Logs
Steps to Reproduce
Set Windows regional format to Polish (Poland) or any locale using 24h time format (Settings → Time & Language → Language & Region → Regional format)
Verify system uses 24h format (taskbar clock shows e.g. 14:30, not 2:30 PM)
Run claude and trigger any scheduled task
Observe timestamp in output: Running scheduled task (Apr 28 11:17am) — uses 12h AM/PM format instead of system's 24h format
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
2.1.119 (Claude Code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗