Skip to content

Adding an event to google calendar on mobile does not get the right time and date #284

@mikeminutillo

Description

@mikeminutillo

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:

  1. Go to https://app.playabl.io/games/1316/overview on an android device
  2. Click on Add to Google Calendar
  3. Note the date and times are not correct

Expected behavior
The date and time should be set correctly

Screenshots

Desktop

Image

Google Calendar app on android

Image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions