# Add locale-based time formatting in the chat panel \(\#7945\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 98ffdca32e0967823d8f36ed35dbfbe5e377c439

Requested commit: 98ffdca32e0967823d8f36ed35dbfbe5e377c439

Commit: 98ffdca32e0967823d8f36ed35dbfbe5e377c439

Tree: d863bbe2112a7147bb95d79c7aa093a5fc68f270

Author: evrsen

Committer: GitHub

## Message

```
Add locale-based time formatting in the chat panel (#7945)

This commit addresses the issue of time formats displayed in the chat
panel. Previously, the time was always displayed in a 12-hour format,
regardless of the user's locale. The `format_timestamp` function has
been updated to check the system locale and format the time accordingly.


Release Notes:
- Fixed time formatting in the chat panel to be locale based.
```

## Parents

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

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