Hi phil, The "Nan" appearing on certain browsers is just a symptom of the underlying issue. Browsers in different operating systems have different way of detecting and setting the default locale. Some will use en-US which is currently problematic but chrome might default to simply "en" in some case. The workarround described should work. I.e you can manually force the locale of the calendar api feed by using the "hl" url parameter. Using ?hl=en will return a correct feed which will be read correctly by the javascript client libraries used to extract the dates.
Cheers! Nicolas On Apr 1, 2011 5:46 PM, "PdeJ" <[email protected]> wrote: > Hi Nicolas, > > Not sure whether your analysis is correct, as I reported the problem > does not occur in Chrome! IE 8 and Firefox display "undefined NAN". > > On Apr 1, 2:45 pm, Nicolas Garnier <[email protected]> wrote: >> I have filed the issue on our public issue tracker, this is where I will >> post updates abotu this bug: >> >> http://code.google.com/a/google.com/p/apps-api-issues/issues/detail?i... >> >> Please star the bug if you want to get the updates. >> >> Cheers! >> * >> Nicolas ** >> * >> >> On Fri, Apr 1, 2011 at 1:21 PM, Nicolas Garnier <[email protected]> wrote: >> > So it seems that this bug is confirmed, it only happen when the Locale of >> > the browser (or the one passe in parameter) is en-US. >> >> > For example this feed: >> >https://www.google.com/calendar/feeds/4u13qtkl3bcpao0ofgod94s960%40gr... >> >> > For now the workarounds are to either use ?hl=en >> > or to use the full projection instead of the basic one: >> >https://www.google.com/calendar/feeds/4u13qtkl3bcpao0ofgod94s960%40gr... >> >> > The problem with using the basic projection is that you rely on >> > a localized date format (which unfortunately is screwed-up in locale en-US), >> > it could very well happen that some users have an uncommon Locale (maybe >> > russian or chinese locale) that your script do not know how to parse either. >> > The full projection have a proper field for the Date that should be of a >> > stable format. >> >> > There is a bug though in the en-US date formating which I am reporting to >> > the engineers. >> >> > Thanks you everyone, I'll update this thread when I have some news. >> >> > Cheers! >> >> > > -- > You received this message because you are subscribed to the Google > Groups "Google Calendar Data API" group. > To post to this group, send email to > [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://code.google.com/apis/calendar/community/forum.html -- You received this message because you are subscribed to the Google Groups "Google Calendar Data API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://code.google.com/apis/calendar/community/forum.html
