iGotify-Notification-Assistent icon indicating copy to clipboard operation
iGotify-Notification-Assistent copied to clipboard

[BUG] 12 hour time causes 0s notifications

Open Nexxol opened this issue 11 months ago • 1 comments

Describe the bug On my iPhone, when I go into settings, general, date and time and turn 24 hour time off: all notifications display 0s on igotify app and the timestamp also updates in real time instead of the time they were sent. When enabling 24 hour time, the notifications display the correct timestamp and time since the notification was received.

Expected behavior 12 hour should not show 0s, it should be the same as when 24 hour is enabled.

Smartphone (please complete the following information):

  • Device: iPhone 14 pro
  • OS: 18.2.1
  • Version of gotify 2.6.1
  • Version of iGotify 1.3.1.0
  • Version of igotify app 1.4.2

Additional context I was confused as to why this was happening and I looked through other issues and deleted the TZ env but that did not work. Switching to 24 hour time did fix it but it would be nice for this bug to be fixed so that I can continue using 12 hour time

Nexxol avatar Jan 19 '25 02:01 Nexxol

I will take a look at this problem

androidseb25 avatar Jan 19 '25 10:01 androidseb25

Hi there! I’m currently looking into this issue, and I’d love to hear more about it.

When I switch to 12-hour format, everything seems to be working perfectly.

I’m guessing the problem might be coming from the gotify timezone or the server timezone.

Would you mind sharing your timezone so I can try to reproduce the issue?

androidseb25 avatar Aug 13 '25 19:08 androidseb25

My timezone is set to London. Here is a video showcasing the issue

https://github.com/user-attachments/assets/a7313a34-52b8-4b06-855f-ce5cb1b2db50

I do not have any timezone environment variables set for gotify or igotify on docker

Nexxol avatar Aug 13 '25 21:08 Nexxol

ok thx, i will take a look on it and try to fix it!

androidseb25 avatar Aug 14 '25 08:08 androidseb25

so I changed now the parsing process and we will look if it works on v1.5

androidseb25 avatar Aug 17 '25 19:08 androidseb25

Still having this same issue on Gotify 2.6.3 and iGotify 1.5.0.0 in docker. App version 1.4.2 (32) on iPhone 13 pro max on iOS 18.6.2

All notifications in the iOS app will say 0s ago when showing list of all notification - regardless of age. Selecting individual notifications will show "Notification from:" and then just list the current date and time - regardless of notification age.

This issue is consistent regardless of 12 hour time or 24 hour time for me. Time Zone is set to detroit.

dcwestra avatar Sep 04 '25 17:09 dcwestra

it will be fixed with the app update 1.5 not the container update

androidseb25 avatar Sep 08 '25 12:09 androidseb25