Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message timestamp in a channel shows yesterday for a message received 3 days ago #11460

Closed
chaitanyaprem opened this issue Jul 8, 2023 · 4 comments · Fixed by #13506
Closed
Assignees
Labels
bug Something isn't working
Milestone

Comments

@chaitanyaprem
Copy link
Collaborator

Bug Report

In a channel, if the latest message is few days old the timestamp still indicates as "yesterday" which is confusing.
Whereas if the latest message is either of today/yesterday then the timestamp indicates today/yesterday properly.

Description

Attaching a screenshot of the issue.
Note: removed messages and contacts for privacy from the screenshot.

Screenshot 2023-07-08 at 7 12 50 AM

Steps to reproduce

Open a channel which has messages from a few days ago.

Expected behavior

Timestamp should not indicate "yesterday" if message is older than 1 day.

Actual behavior

Additional Information

  • Status desktop version: 0.12.0
  • Operating System: MacOS Ventura 13.4.1 (22F82)
@chaitanyaprem chaitanyaprem added the bug Something isn't working label Jul 8, 2023
@chaitanyaprem chaitanyaprem changed the title Message date in a channel shows yesterday for a message received 3 days ago Message timestamp in a channel shows yesterday for a message received 3 days ago Jul 8, 2023
@jrainville
Copy link
Member

cc @alexandraB99

@caybro
Copy link
Member

caybro commented Jul 10, 2023

@chaitanyaprem just a Q: have you by any chance been running the app (w/o quitting) non-stop for a few days?

@chaitanyaprem
Copy link
Collaborator Author

@chaitanyaprem just a Q: have you by any chance been running the app (w/o quitting) non-stop for a few days?

Yes, that is quite possible

@churik
Copy link
Member

churik commented Nov 28, 2023

Yes, the same here, I'm running it for 2 days
Status Desktop 2023-11-28 11-32-39

@micieslak micieslak self-assigned this Dec 5, 2023
@alexandraB99 alexandraB99 modified the milestones: 0.16, 0.17 Jan 17, 2024
@caybro caybro self-assigned this Feb 8, 2024
caybro added a commit that referenced this issue Feb 12, 2024
- introduce one global update timer, to be used in various components
for date/time sensitive updates
- this timer runs only when the app is/becomes active
- use the timer's `triggered()` signal to update the timestamp label
when needed; ie. if it's to display a relative timestamp and it's
currently visible

Fixes #11460
@caybro caybro linked a pull request Feb 12, 2024 that will close this issue
1 task
caybro added a commit that referenced this issue Feb 12, 2024
- introduce one global update timer, to be used in various components
for date/time sensitive updates (StatusSharedUpdateTimer)
- this timer runs only when the app is/becomes active
- use the timer's `triggered()` signal to update the timestamp label
when needed; ie. if it's to display a relative timestamp and it's
currently visible

Fixes #11460
caybro added a commit that referenced this issue Feb 12, 2024
- introduce one global update timer, to be used in various components
for date/time sensitive updates (StatusSharedUpdateTimer)
- this timer runs only when the app is/becomes active
- use the timer's `triggered()` signal to update the timestamp label
when needed; ie. if it's to display a relative timestamp and it's
currently visible

Fixes #11460
caybro added a commit that referenced this issue Feb 12, 2024
- introduce one global update timer, to be used in various components
for date/time sensitive updates (StatusSharedUpdateTimer)
- this timer runs only when the app is/becomes active
- use the timer's `triggered()` signal to update the timestamp label
when needed; ie. if it's to display a relative timestamp and it's
currently visible

Fixes #11460
caybro added a commit that referenced this issue Feb 12, 2024
- introduce one global update timer, to be used in various components
for date/time sensitive updates (StatusSharedUpdateTimer)
- this timer runs only when the app is/becomes active
- use the timer's `triggered()` signal to update the timestamp label
when needed; ie. if it's to display a relative timestamp and it's
currently visible

Fixes #11460
caybro added a commit that referenced this issue Feb 12, 2024
- introduce one global update timer, to be used in various components
for date/time sensitive updates (StatusSharedUpdateTimer)
- this timer runs only when the app is/becomes active
- use the timer's `triggered()` signal to update the timestamp label
when needed; ie. if it's to display a relative timestamp and it's
currently visible

Fixes #11460
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

7 participants