Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upJP22: 20.3.1.1 Time Values and Time Range #195
Comments
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Show comment
Hide comment
anba
Nov 17, 2015
Contributor
Also see https://bugs.ecmascript.org/show_bug.cgi?id=280 for other inconsistencies w.r.t. the date-time limits.
|
Also see https://bugs.ecmascript.org/show_bug.cgi?id=280 for other inconsistencies w.r.t. the date-time limits. |
bterlson
added
the
editorial change
label
Feb 18, 2016
apaprocki
referenced this issue
Mar 21, 2018
Merged
Normative: Cleanup Time Values and Time Range #1144
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
akr commentedNov 17, 2015
In the section 20.3.1.1 Time Values and Time Range,
"approximately 285,616 years" should be changed to "approximately 285,426 years"
There are 97 leap years in the 400 year cycle of Gregorian Calendar.
(400_365+97)/400=365.2425 [days/year] # average number of days in a year
365.2425_86400000=31556952000 [ms/year] # average number of milliseconds in a year
9007199254740992 [ms] / 31556952000 [ms/year] = 285426.7818622341 [year]
It seems "285,616 years" doesn't consider leap years.
Also, the description of "20.3.1.16.1 Extended years describes" contains "285,426 years".