You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Describe the bug
I am getting notifications from the future:
![modrinth_notifications-from-the-future](https://private-user-images.githubusercontent.com/5259518/312420956-326e189e-a7ba-43eb-b05d-2214ebcc8f57.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjI0NDkwNzEsIm5iZiI6MTcyMjQ0ODc3MSwicGF0aCI6Ii81MjU5NTE4LzMxMjQyMDk1Ni0zMjZlMTg5ZS1hN2JhLTQzZWItYjA1ZC0yMjE0ZWJjYzhmNTcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDczMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MzFUMTc1OTMxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZGYwYWE3NGJjYWU2MTQyOGMwN2FmY2FjZWEwZDA3NDViYTlmZmUwOWZhMjI0ZWM0Yzc4NjcwYTRlYWQxOTQxOCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.6xCroD5aDShxLodS6c27rXT_rxKxUNKIN-DA5dx7I0k)
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
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.
The text was updated successfully, but these errors were encountered: