onlineweb-frontend
onlineweb-frontend copied to clipboard
Notifications are displayed as 50y ago
Describe the bug
The time on notifications are displayed as 50y ago, probably 1.1.1970.
To Reproduce Steps to reproduce the behavior:
- On an android, go to Online.ntnu.no, profil -> innstillinger -> varsler
- Enable push notifications.
- Click on any "varsel" to enable push notification for said "varsel".
- Trigger the "varsel", e.g. through buying from the shop.
- Wait for the notification to trigger.
- See error
Expected behavior
I expect the time either to be the moment I did the action which triggered the notification, or to be the time the notification was shown to me.
Screenshots

Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1] Android 8.1
- Browser [e.g. stock browser, safari] Google Chrome
- Version [e.g. 22] 85.0.41
Additional context