knossos icon indicating copy to clipboard operation
knossos copied to clipboard

Getting notifications from the future (wording?)

Open joernott opened this issue 11 months ago • 0 comments

Describe the bug

I am getting notifications from the future: modrinth_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

  1. Ensure, your timezone is Europe/Berlin (CET or Z+0100)
  2. Follow a project (ideally one from a vastly different time zone)
  3. 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.

joernott avatar Mar 13 '24 10:03 joernott