My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 667: Timezone offset issue with Google Calendar feed
5 people starred this issue and may be notified of changes. Back to list
Status:  Released
Owner:  ----
Closed:  Jun 2014


Sign in to add a comment
 
Reported by jeremiah...@gmail.com, Oct 11, 2010
I have an implementation of full calendar pulling a Google Calendar feed for a Community Ice Rink. Everything seems to be working fine except the last two events of the week are missing from 7:00PM on on Saturday. I have tried deleting the events, adding a different event. Renaming events, removing other events to see if there are too many. The XML feed is valid. I don't know what else to do. There is not a javascript error.

I am in MST timezone and coincidentally if I remove currentTimezone it actually shows the events but at the wrong times, which is to be expected w/o a timezone. 

and this is the code that I am using:
$('#fullcal').fullCalendar({

events: $.fullCalendar.gcalFeed('http://www.google.com/calendar/feeds/0vf900bq0u01v826rjvirb02b4%40group.calendar.google.com/public/basic',
 {
        // put your options here
        className:       'gcal-event',
        currentTimezone: 'America/Denver'
     }
),
header: {
 left: 'prev,next today',
 center: 'title',
 right: 'month,agendaWeek,agendaDay'
},
defaultView: 'agendaWeek',
eventClick: function(event) {
 window.open(event.url, 'gcalevent', 'width=700,height=600');
 return false;
},

loading: function(bool) {
 if (bool) {
  $('#loading').show();
 }else{
  $('#loading').hide();
 }
}
}); 



Nov 21, 2010
Project Member #1 adamrs...@gmail.com
will try to reproduce this...
Status: Reproducing
Feb 6, 2011
#2 rol...@liebl.ath.cx
I'm facing this issue aswell.

I solved it by using bundled gcal.js and increasing 'end' param by one day.

Off topic:

gcal.js throws javascript errors if the feed contains recurring events and loading of additional sources fails.

The reason is, that entry['gd$when'] in the AJAX response is undefined. Google returns 'gd$recurrence' (ical formatted). I've solved this issues by parsing the param server side. 
May 15, 2013
#6 m...@kittikun.jp
"I solved it by using bundled gcal.js and increasing 'end' param by one day."

For those who aren't proficient with javascript, this doesn't talk to us.
Could someone post the modified part of gcal.js ?
Aug 13, 2013
Project Member #7 adamrs...@gmail.com
(No comment was entered for this change.)
Summary: Missing events at the end of the week (after 7:00 PM) with gcalFeed (was: Full Calendar Missing Events at the End of the week (after 7:00 PM) with gcalFeed)
Labels: Type-Bug
Aug 18, 2013
Project Member #8 adamrs...@gmail.com
 Issue 969  has been merged into this issue.
Aug 18, 2013
Project Member #9 adamrs...@gmail.com
(No comment was entered for this change.)
Summary: Timezone offset issue with Google Calendar feed (was: Missing events at the end of the week (after 7:00 PM) with gcalFeed)
Aug 18, 2013
Project Member #10 adamrs...@gmail.com
 Issue 1534  has been merged into this issue.
Aug 25, 2013
Project Member #11 adamrs...@gmail.com
 Issue 1938  has been merged into this issue.
Sep 1, 2013
Project Member #14 adamrs...@gmail.com
(No comment was entered for this change.)
Labels: milestone-date
Jan 25, 2014
Project Member #15 adamrs...@gmail.com
this should be fixed in v2.0.0-beta. please check it out! thanks
http://arshaw.com/fullcalendar/wiki/Upgrading-to-2/
Status: Accepted
May 25, 2014
Project Member #16 adamrs...@gmail.com
(No comment was entered for this change.)
Status: Implemented
Jun 2, 2014
Project Member #17 adamrs...@gmail.com
version 2 has been released with this change.
http://blog.arshaw.com/1/post/2014/06/fullcalendar-2-released.html
Status: Released
Sign in to add a comment

Powered by Google Project Hosting