matrix-org / matrix-org/matrix-viewer
Date headers appear timezone dependent and sometimes appear at the bottom
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 84
- Forks
- 10
- PR merge metrics
- No merged PRs in 30d
Description
Depending on the timezone, one sees "tomorrow" or a "today" date header at the bottom of a chat
This is most easily viewable by setting the timezone to any country that has GMT+1 or higher (London, Berlin, Moscow etc.)

---
*As [discussed in Matrix Public Archive room](https://matrix.to/#/!SzoPnANsRYxITaDPaJ:matrix.org/$mnoOQ8avqzK2gKx34NLka-liStn6HunJzQ2BbtMsHh4?via=matrix.org&via=matrix.vgorcum.com&via=tchncs.de)*
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the chat view with a GMT+1-or-higher timezone, then trace the date-header rendering and ordering from the displayed symptom. Done means "today" or "tomorrow" headers no longer appear at the bottom and date headers remain correctly ordered across the reported timezones.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100