lbell/pretty-google-calendar

Inconsistent Timezone Parsing

Opened this issue · 3 comments

The "start" and "end" times surfaced in Tippy use toLocaleTimeString() which defaults to browser TZ. The rest of PGCal uses calendar TZ.

Also running into what I think is this issue.

Trying to display a calendar originally from Meetup.com on my site.

Importing the Meetup calendar into gcal the TZ is UTC an I can't edit that on the gcal side.

When I then display the calendar with this plugin it shows the times as UTC instead of local.

Would be happy to lightly bribe for a fix.

@Carter12s To clarify, are you talking about in the calendar itself showing UTC, or in the popup?

For the calendar, check here: https://fullcalendar.io/docs/timeZone. You might try specifying a timeZone argument to see what works. E.g. fc_args='{"timeZone":"America/New_York"}

Let me know what you find, and I'll see what needs tweaking in the popup to get things right.