2 ms·
> As per ISO 8601 standard (which requires dates to be consecutive), JS is using the proleptic Gregorian calendar (which does _not_ have 10 missing days; Octobe
by karmakaze 5y ago
> As per ISO 8601 standard (which requires dates to be consecutive), JS is using the proleptic Gregorian calendar (which does _not_ have 10 missing days; October 4th 1582 in the Julian calendar is October 14th 1582 in the proleptic Gregorian calendar). Swift is wrong here.
I think ISO 8601 is wrong here. The dates in the calendar are themselves not consecutive and forcing them to be creates historically inaccurate dates.