[BUG] Changing system time bugs chat history

Open 💬 0 comments Opened Jul 12, 2026 by Peacanduck

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?

if I change my system clock while working with claude code in claude desktop I end up losing my chat history in the UI chat even though the chats jsonl files still contain everything to get it to display again I had to correct the timestamps to the correct date and my history was showing correctly again.

What Should Happen?

Ideally changing system time should not change how your chat displays

Error Messages/Logs

Steps to Reproduce

-Open Claude desktop

  • Do work in Claude code
  • Change system time to a prior date
  • continue working
  • restart Claude desktop and the work done after the time change will not be displayed correctly

Claude Model

Not sure / Multiple models

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

1.20186.0

Platform

Other

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

_No response_

View original on GitHub ↗