Calendar issues

Norbert Lindenberg ecmascript at norbertlindenberg.com
Thu Sep 13 08:40:30 PDT 2012


On Sep 13, 2012, at 6:55 , Andrew Paprocki wrote:

>>>> and Explorer formats it as being in the year 1 BC. Safari calculates the day
>>>> according to the Julian calendar, all others use the proleptic Gregorian
>>>> calendar.
> 
> That is very surprising to me. Can anyone comment on why Safari chose
> that implementation?

Probably because that's the default used for date and time formatting in ICU. ICU can be made to use a proleptic calendar by setting the Gregorian cutover to the beginning of time; I don't see an easy way to make it introduce a year 0.

Norbert



More information about the es-discuss mailing list