temporal
temporal copied to clipboard
A Rust implementation of ECMAScript's Temporal API
There's currently a bug in cross boundary rounding, specifically for what appears to be date units, not time units. Workable example is visible [here](https://github.com/tc39/test262/blob/main/test/built-ins/Temporal/Duration/prototype/round/round-cross-unit-boundary.js). The following test should pass when...
While implementing partial methods for `PlainYearMonth`, it became clear that `PartialDate` is not completely correct for `PlainYearMonth` APIs. So a new `PartialYearMonth` should be implemented and used for all related...
Related to ongoing work for #13. The method `GetTimeZoneTransition` needs to be implemented for `ZonedDateTime`. This may involve extending the `TzProvider` trait and implementing that extension on `FsTzdbProvider`. Initial thought...
This PR is the follow up for `impl-zoneinfo-support` once merged with the actual baked data generated with the bakeddata tool.
This PR adds support for POSIX time zone strings based off the [GNU tz variable documentation](https://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html).
It's time to finally tackle the zoneinfo compilation and tzif sourcing issue. The work here lays the baseline for to handle sourcing. There's still a lot more to add, and...
The `with` method for `PlainMonthDay` needs to be implemented. Specification can be found [here](https://tc39.es/proposal-temporal/#sec-temporal.plainmonthday.prototype.with).
Once https://github.com/boa-dev/temporal/pull/273 lands we should expose APIs that deal with TimeZone over FFI
There are a fair number of APIs that take TimeZoneProvider that I neglected to expose over FFI because I hadn't yet figured out how best to do TimeZoneProvider. For now,...
The line this most likely should be applied is [here](https://github.com/boa-dev/temporal/blob/f27e2ffa3324e4cfb2bdf0b654b0d5bb2f15ed61/src/parsers/timezone.rs#L39). Although we should double check it isn't meant to be applied elsewhere. For reference to the specification step, see [ParseTimeZoneIdentifier](https://tc39.es/proposal-temporal/#sec-parsetimezoneidentifier)...