My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1319: fetching events using JSON shows different results between browsers
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Aug 2013


Sign in to add a comment
 
Reported by horninc@gmail.com, Feb 28, 2012
Basically I have a valid json feed at the following url : http://umhelp.info/calendar/jsonreformat.php?regions=int and I want to show events from it on the following calendar : http://umhelp.info/calendar/index.html

On the following browsers it works fine : Opera, Chrome

On these browsers it loads events only partially : Firefox, IE

Results between Opera and Chrome are identical, results on Firefox and IE are also identical, so there is definately something very special that does work on browsers in the first group, and does not work in the browsers from the second group. I also experimented with the amounts of events, since complete lost we have includes 5000+ so we limited jsonformatter to give only +3 months and -3 months.

I already checked that output from the json on Firefox and Opera is the same using this tool : http://www.textdiff.com/ ,so it is not a problem with an actual json feed. I also made sure that the json feed is consistent with the data in the actual calendar system from where it is retrieved (a call to external server which retrieves a different json feed and then reformats it).

I am looking for a solution to make all events show up on all browsers.
Feb 29, 2012
#1 horninc@gmail.com
It had to do with the kind of date the script expects.
It seems to want the date in ISO 8601 and falls back to the browser
implementation of Date if that does not work in case of Firefox.

Probably the browser implementations differ for the built in Date
and chrome etc are a bit smarter parsing it.

Replace the JSON formatter file to accomodate.
Aug 15, 2013
Project Member #2 adamrs...@gmail.com
(No comment was entered for this change.)
Status: Done
Sign in to add a comment

Powered by Google Project Hosting