onlineweb-frontend icon indicating copy to clipboard operation
onlineweb-frontend copied to clipboard

Notifications are displayed as 50y ago

Open johanneskvamme opened this issue 4 years ago • 0 comments

Describe the bug

The time on notifications are displayed as 50y ago, probably 1.1.1970.

To Reproduce Steps to reproduce the behavior:

  1. On an android, go to Online.ntnu.no, profil -> innstillinger -> varsler
  2. Enable push notifications.
  3. Click on any "varsel" to enable push notification for said "varsel".
  4. Trigger the "varsel", e.g. through buying from the shop.
  5. Wait for the notification to trigger.
  6. 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

Screenshot_20200920-154753

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

johanneskvamme avatar Sep 21 '20 12:09 johanneskvamme