# agent_ui: Fix thread history item showing GMT time instead of local time on Windows \(\#42198\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/a3f04e8b36e3675727e7b25e12aae26249ef1523)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: a3f04e8b36e3675727e7b25e12aae26249ef1523

Requested commit: a3f04e8b36e3675727e7b25e12aae26249ef1523

Commit: a3f04e8b36e3675727e7b25e12aae26249ef1523

Tree: 569755574517533b1c491a27dd78defcf84ec03a

Author: Abul Hossain Khan

Committer: GitHub

## Message

```
agent_ui: Fix thread history item showing GMT time instead of local time on Windows (#42198)

Closes #42178
Now it's consistent with the DateAndTime path which already does
timezone conversion.

- **Future Work**
Happy to tackle the TODO in `time_format.rs` about implementing native
Windows APIs for proper localized formatting (similar to macOS's
`CFDateFormatter`) as a follow-up.

Release Notes:

- agent: Fixed the thread history item timestamp, which was being shown
in GMT instead of in the user's local timezone on Windows.
```

## Parents

- [3c81ee6ba647f1ae7b172c0a259ce95e7dbd4af3](https://git.cafe/gitcafe/zed/commit/3c81ee6ba647f1ae7b172c0a259ce95e7dbd4af3?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/a3f04e8b36e3675727e7b25e12aae26249ef1523?format=markdown)
