-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fast-path conversion of Temporal.ZonedDateTime to Temporal.Instant
If passing a Temporal.ZonedDateTime where a Temporal.Instant is expected, then create a Temporal.Instant directly from the ZonedDateTime's [[Nanoseconds]] internal slot. Previously, the ZonedDateTime's toString() method would have been called, and the result would have been parsed into an Instant. See: #1428
- Loading branch information
Showing
2 changed files
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters