knossos
knossos copied to clipboard
Getting notifications from the future (wording?)
Describe the bug
I am getting notifications from the future:
This looks like a wording issue or a timezone issue, it is correct for "a month ago" but "Recieved in 14 hours" should be either "Will receive in 14 hours" or "received 14 hours ago".
Steps to reproduce
- Ensure, your timezone is Europe/Berlin (CET or Z+0100)
- Follow a project (ideally one from a vastly different time zone)
- Look at the notifications page less than a day after the project received an update
Expected behavior
The notification should read "Received x hours ago"
Additional context
I have encountered similar issues in projects where timestamps used local time instead of UTC and saved them without the timezone. When someone from timezone A uploaded something and someone from a different timezone looked at the timestamp, the timezone was not accounted for and it looked like the upload happened in the future or hours ago.