-
Notifications
You must be signed in to change notification settings - Fork 593
Description
At boa
(A Javascript interpreter) we're using chrono
to handle the Javascript Date
builtin; we mainly use it to easily create, parse and format local and UTC datetimes. However, we discovered that several tests were failing because of the supported range of dates by chrono. The README specifies:
Date types are limited in about +/- 262,000 years from the common epoch.
While the ECMAScript spec mentions:
The smaller range supported by a time value as specified in this section is approximately -273,790 to 273,790 years relative to 1970.
chrono
's supported range is smaller than the range specified by the spec.
The time
crate has a feature (large-dates
) to extend the allowed range of dates, so we would be very glad to see a similar feature in chrono
that extended its supported range.
Thanks!