From 7be426fd66f9dae160e1ced2087009a533229731 Mon Sep 17 00:00:00 2001 From: James Wright Date: Mon, 18 Mar 2024 18:07:16 -0700 Subject: [PATCH] Fix relativeTo example values in typings. --- index.d.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/index.d.ts b/index.d.ts index b11758ea..f9bf273f 100644 --- a/index.d.ts +++ b/index.d.ts @@ -410,8 +410,8 @@ export namespace Temporal { * This value must be either a `Temporal.PlainDateTime`, a * `Temporal.ZonedDateTime`, or a string or object value that can be * passed to `from()` of those types. Examples: - * - `'2020-01'01T00:00-08:00[America/Los_Angeles]'` - * - `'2020-01'01'` + * - `'2020-01-01T00:00-08:00[America/Los_Angeles]'` + * - `'2020-01-01'` * - `Temporal.PlainDate.from('2020-01-01')` * * `Temporal.ZonedDateTime` will be tried first because it's more @@ -447,8 +447,8 @@ export namespace Temporal { * This value must be either a `Temporal.PlainDateTime`, a * `Temporal.ZonedDateTime`, or a string or object value that can be passed * to `from()` of those types. Examples: - * - `'2020-01'01T00:00-08:00[America/Los_Angeles]'` - * - `'2020-01'01'` + * - `'2020-01-01T00:00-08:00[America/Los_Angeles]'` + * - `'2020-01-01'` * - `Temporal.PlainDate.from('2020-01-01')` * * `Temporal.ZonedDateTime` will be tried first because it's more @@ -475,8 +475,8 @@ export namespace Temporal { * This value must be either a `Temporal.PlainDateTime`, a * `Temporal.ZonedDateTime`, or a string or object value that can be passed * to `from()` of those types. Examples: - * - `'2020-01'01T00:00-08:00[America/Los_Angeles]'` - * - `'2020-01'01'` + * - `'2020-01-01T00:00-08:00[America/Los_Angeles]'` + * - `'2020-01-01'` * - `Temporal.PlainDate.from('2020-01-01')` * * `Temporal.ZonedDateTime` will be tried first because it's more