-
-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Describe the bug
When adding an event to google calendar on my android device (Pixel 6 Pro) it does not get the time and date correct. It does work when attempting to use my desktop. It does work on android when I copy the link and open it in a browser.
To Reproduce
Steps to reproduce the behavior:
- Go to https://app.playabl.io/games/1316/overview on an android device
- Click on Add to Google Calendar
- Note the date and times are not correct
Expected behavior
The date and time should be set correctly
Screenshots
Desktop
Google Calendar app on android
Smartphone (please complete the following information):
- Device: Google Pixel 6 Pro
- OS: Android 15
- Browser Chrome
- Version 4.0
Additional context
❌ This may be related to the url which contains the times separated by a /. This might need to be encoded to %2f
With further testing it appears to be caused by the inclusion of the timezone. i.e. the dates in the sample link look like this:
dates=20250706T080000+08/20250706T110000+08
The +08 is because I am in the UTC+8 timezone.
This documentation states that the local timezone is assumed, and the only other option is to specify the date/time in UTC format by adding a Z suffix.
I have tested with:
dates=20250706T080000/20250706T110000
and
dates=20250706T000000Z/20250706T030000Z
And both work.

