top | item 41830979 Time Duration in JavaScript 3 points| xoelop | 1 year ago |docs.timetime.in 2 comments order hn newest westurner|1 year ago Looks like Safari Technical Preview TP only? https://caniuse.com/?search=temporalhttps://caniuse.com/mdn-javascript_builtins_temporal_duratio...Temporal.Duration: https://tc39.es/proposal-temporal/docs/#Temporal-DurationIIRC Python datetime objects initially lacked timezone support and a timezone database.datetime.MINYEAR and the "can't represent datetimes before the Unix epoch, or before 0001-01-01" problem.E.g. Astropy supports astronomical year numbering and year zero.Year Zero: https://en.wikipedia.org/wiki/Year_zeroPython datetime module: https://docs.python.org/3/library/datetime.html westurner|1 year ago "When was the Osireon built?"If the answer is greater than 2025 years ago (is a BCE date by the Gregorian calendar) or Year Zero, the answer cannot be represented unless the datetime or temporal.Duration object supports negative years or different year zeroes.
westurner|1 year ago Looks like Safari Technical Preview TP only? https://caniuse.com/?search=temporalhttps://caniuse.com/mdn-javascript_builtins_temporal_duratio...Temporal.Duration: https://tc39.es/proposal-temporal/docs/#Temporal-DurationIIRC Python datetime objects initially lacked timezone support and a timezone database.datetime.MINYEAR and the "can't represent datetimes before the Unix epoch, or before 0001-01-01" problem.E.g. Astropy supports astronomical year numbering and year zero.Year Zero: https://en.wikipedia.org/wiki/Year_zeroPython datetime module: https://docs.python.org/3/library/datetime.html westurner|1 year ago "When was the Osireon built?"If the answer is greater than 2025 years ago (is a BCE date by the Gregorian calendar) or Year Zero, the answer cannot be represented unless the datetime or temporal.Duration object supports negative years or different year zeroes.
westurner|1 year ago "When was the Osireon built?"If the answer is greater than 2025 years ago (is a BCE date by the Gregorian calendar) or Year Zero, the answer cannot be represented unless the datetime or temporal.Duration object supports negative years or different year zeroes.
westurner|1 year ago
https://caniuse.com/mdn-javascript_builtins_temporal_duratio...
Temporal.Duration: https://tc39.es/proposal-temporal/docs/#Temporal-Duration
IIRC Python datetime objects initially lacked timezone support and a timezone database.
datetime.MINYEAR and the "can't represent datetimes before the Unix epoch, or before 0001-01-01" problem.
E.g. Astropy supports astronomical year numbering and year zero.
Year Zero: https://en.wikipedia.org/wiki/Year_zero
Python datetime module: https://docs.python.org/3/library/datetime.html
westurner|1 year ago
If the answer is greater than 2025 years ago (is a BCE date by the Gregorian calendar) or Year Zero, the answer cannot be represented unless the datetime or temporal.Duration object supports negative years or different year zeroes.