# agent: Use correct timezone for thread history separators \(\#30059\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 264097e2533089494d0972c36dc53d83919ff98f

Requested commit: 264097e2533089494d0972c36dc53d83919ff98f

Commit: 264097e2533089494d0972c36dc53d83919ff98f

Tree: 0be92e79bc3dbd1a76e63e44c6c88f649b3d7dc4

Author: Agus Zubiaga

Committer: GitHub

## Message

```
agent: Use correct timezone for thread history separators (#30059)

Turns out `naive_local` doesn't actually offset a `DateTime<Utc>` to the
local timezone before creating a `NaiveDate`.

Release Notes:

- agent: Use correct timezone for thread history separators
```

## Parents

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

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