My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 124: Time wrong on pop-up with Gcal
1 person starred this issue and may be notified of changes. Back to list
Status:  Released
Owner:  ----
Closed:  Aug 2013


Sign in to add a comment
 
Reported by macdonal...@gmail.com, Oct 13, 2009
1. view the full month with feed from Google calendar
2. date and time displayed correctly with calendar
3. click on event to view pop-up of details
4. "When" time and date are in wrong time zone

When I am logged into Google calendar the time is displayed correctly, but
when I am not logged in, it is set to GMT (I assume since it is 6 hours off
MST).

Is there a way to set a default time zone or at least pass along that
parameter since it seems Google is not picking that up even though I have
set it to MST within the Google calendar settings.
Oct 13, 2009
Project Member #1 adamrs...@gmail.com
good point, i ran into this problem the other day as well. i was thinking of just 
providing an option to ignore a gcal feed's events' time zones, so that they would 
always be rendered in the same timezone the calendar was created.

however, this wouldn't be perfect, b/c even if the timezone was ignored, if the user 
clicked on the event, the event would be displayed in gcal's interface, which tries to 
guess the user's timezone (either by google account settings or IP i think) and applies 
it to the time. thus, the fullcalendar time and the gcal time appear different to the 
user.

maybe this isn't a big issue. maybe a workaround is impossible (there is no way for 
fullcalendar to guess a user's google account settings). an ignoreTimezone option might 
be the best bet, but i gotta investigate this issue more.

thanks for the report
Status: Accepted
Oct 14, 2009
#2 macdonal...@gmail.com
I was considering using qTip to display the details of each events with a link to the
Google map (optional) in a popover. This would then be using the correct data from
the feed. Not sure how yet but I'll work it out.
Oct 31, 2009
Project Member #3 adamrs...@gmail.com
hi jim,
new in 1.4.1, the gcalFeed option 'currentTimezone' should help you.
http://arshaw.com/fullcalendar/docs/google-calendar.php might be of help as well
let me know if any problems.
thanks,
adam
Status: Fixed
Nov 4, 2009
#4 macdonal...@gmail.com
Thanks for the update. Yes, the currentTimezone worked great for displaying my
calendar in the proper time zone (and that will be very useful later) but it didn't
solve the problem of opening a pop-up window to display the details of the Google
Calendar event in the proper time zone. However, you did have me consider an
alternative. So, here is how I did make it work and perhaps you will have a better way:

eventClick: function(event) {
  // opens events in a popup window
  window.open(event.url+"&ctz=America/Edmonton",
  'gcalevent',
  'width=700,height=600');
  return false;
},

Dec 8, 2009
#5 javapor...@gmail.com
Thanks macdonaldjim, that fixed my problem. 
Dec 9, 2009
Project Member #6 adamrs...@gmail.com
macdonaldjim,
i guess i forgot about your response here, but this "feature" you've added, it should
be rolled into a release of fullcalendar. i'm going to reopen this ticket, and
hopefully i'll get to it in the next release. thank you very much!
adam
Status: Accepted
Labels: -Priority-Medium
Dec 22, 2009
Project Member #7 adamrs...@gmail.com
v1.4.3 (just released) automatically puts the ctz in each event's url now. thanks
macdonaldjim!
Status: Fixed
Dec 22, 2009
#8 macdonal...@gmail.com
Excellent. Thanks.
Aug 13, 2013
Project Member #10 adamrs...@gmail.com
(No comment was entered for this change.)
Status: Implemented
Aug 13, 2013
Project Member #11 adamrs...@gmail.com
(No comment was entered for this change.)
Status: Released
Sign in to add a comment

Powered by Google Project Hosting