Skip to content

Commit

Permalink
Update messages about landing ZonedDateTime
Browse files Browse the repository at this point in the history
The message is no longer accurate, since ZonedDateTime itself has landed
already. Change it to say which methods are as yet unimplemented.
  • Loading branch information
ptomato authored and Ms2ger committed Nov 3, 2020
1 parent 1a3b00d commit a368ad3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ See [Temporal.Instant Documentation](./instant.md) for detailed documentation.

### **Temporal.ZonedDateTime**

_NOTE: this type is not checked into the polyfill yet, but is planned to land in late October 2020._
_NOTE: Not all methods of this type are available in the polyfill yet._

A `Temporal.ZonedDateTime` is a timezone-aware, calendar-aware date/time type that represents a real event that has happened (or will happen) at a particular exact time from the perspective of a particular region on Earth.
This type is optimized for use cases that require a time zone, including DST-safe arithmetic and interoperability with RFC 5545 (iCalendar).
Expand Down
3 changes: 1 addition & 2 deletions docs/zoneddatetime.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
<!-- toc -->
</details>

> **NOTE**: This type has been approved and will be merged soon (targeting late October 2020), but it's not in current builds yet.
> If you have feedback about this new type, visit https://github.com/tc39/proposal-temporal/issues/700.
> **NOTE**: The `with()`, `until()`, and `since()` methods of this type are not available in the polyfill yet.
A `Temporal.ZonedDateTime` is a timezone-aware, calendar-aware date/time type that represents a real event that has happened (or will happen) at a particular instant from the perspective of a particular region on Earth.
As the broadest `Temporal` type, `Temporal.ZonedDateTime` can be considered a combination of `Temporal.TimeZone`, `Temporal.Instant`, and `Temporal.DateTime` (which includes `Temporal.Calendar`).
Expand Down

0 comments on commit a368ad3

Please sign in to comment.