I am using the fullcalendar plugin and would appreciate it if someone could give me a hand.
I get json events via PHP url. something like that:
$('#calendar').fullCalendar({ events: "/myfeed.php" });
So, on my php page that returns events, I get 3 GET parameters:
The start and end parameters indicate the date in the UNIX timestamp. So far so good, the problem is: if I change the time zone on my OS. also change these parameters to the beginning and the end, for the same request on the same day in the calendar. the strangest part is that this only happens in Mozilla Firefox. In Google Chrome, this problem does not occur.
eg.
I set my time zone ((UTC-04: 00) Santiago) I mean the day 09.09.2012 on the agenda, firebug shows me that these parameters are sent to my php page
- _ 1347245953581
- end 1347246000
- start 1347159600
but if I change the time zone from my OS to ((UTC-03: 00) Buenos Aires) consulting on 09.09.2012 on the agenda, other parameters that are now sent to the PHP page.
- _ 1347246338047
- end 1347332400
- start 1347246000
Since this is the same day, these are other start and end parameters that are sent to check for events.
Pablo source share