From f07c98fb888a5b56ba15d307a3afbdaf4209eaa3 Mon Sep 17 00:00:00 2001 From: Martin Kagamino Lehoux Date: Sat, 26 Sep 2026 09:03:12 +0200 Subject: Allow backdating a routine completion --- src/temporal-ambient.d.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/temporal-ambient.d.ts') diff --git a/src/temporal-ambient.d.ts b/src/temporal-ambient.d.ts index 87933b9..c5ec34f 100644 --- a/src/temporal-ambient.d.ts +++ b/src/temporal-ambient.d.ts @@ -36,6 +36,7 @@ declare global { add(durationLike: DurationLike): ZonedDateTime; startOfDay(): ZonedDateTime; toInstant(): Instant; + toPlainDate(): PlainDate; toLocaleString( locales?: string | string[], options?: Intl.DateTimeFormatOptions, @@ -47,13 +48,12 @@ declare global { add(durationLike: DurationLike): PlainDate; subtract(durationLike: DurationLike): PlainDate; toZonedDateTime(timeZone: TimeZoneId): ZonedDateTime; + toString(): string; } namespace PlainDate { - function from(plainDateLike: { - year: number; - month: number; - day: number; - }): PlainDate; + function from( + plainDateLike: { year: number; month: number; day: number } | string, + ): PlainDate; } namespace Now { function instant(): Instant; -- cgit v1.3