Skip to content

Commit abfe49c

Browse files
authored
Update Temporal API description (#770)
1 parent 4d5d67b commit abfe49c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/moment/-project-status/02-future.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Though some capabilities are here today with [`Date`](https://developer.mozilla.
1010
The effort to make better date and time APIs in the JavaScript language is being done via [The ECMA TC39 Temporal Proposal](https://tc39.es/proposal-temporal/docs/index.html).
1111
It is currently at Stage 3 of [the TC39 process](https://tc39.es/process-document/).
1212

13-
`Temporal` will be a new global object that acts as a top-level namespace (like `Math`). It exposes many separate types of objects including `Temporal.Instant`, `Temporal.ZonedDateTime`, `Temporal.PlainDateTime`, `Temporal.PlainDate`, `Temporal.PlainTime`, `Temporal.TimeZone` and several others. The [Temporal Cookbook](https://tc39.es/proposal-temporal/docs/cookbook.html) shows many "recipes" with examples of how these objects can be used in different scenarios.
13+
[`Temporal`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Temporal) will be a new global object that acts as a top-level namespace (like `Math`). It exposes many separate types of objects including `Temporal.Instant`, `Temporal.ZonedDateTime`, `Temporal.PlainDateTime`, `Temporal.PlainDate`, `Temporal.PlainTime` and several others. The [Temporal Cookbook](https://tc39.es/proposal-temporal/docs/cookbook.html) shows many "recipes" with examples of how these objects can be used in different scenarios.
1414

1515
You can try out Temporal today, via [a non-production polyfill](https://github.com/tc39/proposal-temporal/tree/main/polyfill). Please give it a try, but don't use it in production (yet)!
1616

0 commit comments

Comments
 (0)