| Issue 2122: | Google Calendar events show GMT times to people who aren't logged into their Google Account | |
| 2 people starred this issue and may be notified of changes. | Back to list |
So when you click on a google calendar event in fullcalendar it displays correctly in the pop-up IF the viewer is logged into their Google Account. But if they aren't logged into their Google Account it displays the time in GMT. I suppose Google stores times in GMT and adjusts them based on the timezone preferences of the viewer. But if the viewer isn't logged in then Google doesn't have anything to go on and displays in GMT instead even if you specify the calendar timezone when you set it up in Google. I'm implementing this for a school and half the time when people view this it will be on school computers. I can't assume viewers will be logged into their Google Accounts. I was able to hack a workaround by changing event.url in the eventClick function to event.url + '&ctz=America/New_York' where ctz is my local timezone. This changes the pop-up URL from: https://www.google.com/calendar/render?eid=XXX to https://www.google.com/calendar/render?eid=XXX&ctz=America/New_York Ensuring that times for google calendar events display correctly for my students even if they don't happen to be logged in to their Google Account. I thought allowing people to force a timezone for a google calendar feed like this could be integrated into fullcalendar.
Nov 25, 2014
(No comment was entered for this change.)
Labels:
-Type-Feature Type-Bug
Nov 25, 2014
this is fixed in v2.2.3, just released. thanks!
Status:
Released
Dec 2, 2014
not fixed
Dec 3, 2014
looks good to me. attached is a screenshot show a logged-out incognito window after clicking on a google calendar event when the calendar's timezone is 'Europe/Zurich'. Can you post a JSBin example of your test case? (See the Support Page). Are you sure you're using v2.2.3?
Aug 5, 2015
Hi! I'm still having this problem. I have the newest version. Here is my calendar http://ebooks.marinet.info/calendar/ On the calendar they look great. When you click an entry and you aren't signed into google, the entry shows as GMT. I would use the workaround Matt came up with, but I can't figure out how. How exactly do I edit the URL to add the time zone? Thanks!
Aug 13, 2015
@jessica.trenary can you post as a new bug? also, can you please post as a stripped-down independent demo? http://fullcalendar.io/wiki/Reporting-Bugs/ |
|
| ► Sign in to add a comment |
Labels: Type-Feature