OneSignal / OneSignal-Website-SDK

OneSignal is a push notification service for web and mobile apps. This SDK makes it easy to integrate your website with OneSignal Push Notifications. https://onesignal.com
Other
389 stars 115 forks source link

[Bug]: (v15 only) Firefox issue when trying to subscribe in Europe/Kyiv timezone #979

Open marclucraft opened 1 year ago

marclucraft commented 1 year ago

What happened?

Firefox uses the new IANA tzdata Europe/Kyiv. Chrome and edge both use the outdated Europe/Kiev timezone data.

IANA updated the timezone data to include Europe/Kyiv, when trying to subscribe to Web Push in Firefox from Europe/Kyiv timezone, it is not recognised;

XHRPOSThttps://onesignal.com/api/v1/players
[HTTP/3 400 Bad Request 176ms]

1

{"success":false,"errors":["[\"Europe/Kyiv is not a valid IANA timezone identifier\"]"]}

What browsers are you seeing the problem on?

Firefox

What operating system are you running?

Mozilla Firefox (latest) Linux

Steps to reproduce?

Subscribe to notifications from Firefox in Europe/Kyiv timezone

What did you expect to happen?

Successful subscribe.

Relevant log output

No response

bsdrazor commented 1 year ago

Hey there. Same issue on Windows 10 users with Firefox 108. Chrome, Edge, Opera still works.

quarryman commented 1 year ago

Hi, experiencing the same issue on MacOS Ventura 13.0.1, FF 109

bsdrazor commented 1 year ago

Hi! Is there any news about how to fix this issue? The problem still exists. Thanks for any advice!

vlad90435 commented 1 year ago

Same issue. Please take in the work. We would really appreciate it if you could fix this because my company uses your product, and thanks Mark for the great support!

Ercogx commented 1 year ago

Same problem - Mozilla Firefox 116.0.3 20230816233310 20230816233310

pridumkuvatyj commented 1 year ago

All new Firefox versions are affected obviously. I'm experiencing the same problem with Firefox 118 on Fedora.

TheMacros commented 3 months ago

I have the same issue. Firefox sends the timezone as "Europe/Kyiv," while other browsers send it as "Europe/Kiev." I've tested this on macOS, Windows 10, and Windows 11, and the behavior is consistent across all platforms. I reported this bug to Firefox a long time ago, but I don't expect it to be fixed.