Skip to content

Remove ZonedDateTime from Formattable - #81

Closed
ykiu wants to merge 1 commit into
fullcalendar:mainfrom
ykiu:fix-formattable
Closed

ykiu wants to merge 1 commit into
fullcalendar:mainfrom
ykiu:fix-formattable

Conversation

@ykiu

@ykiu ykiu commented Nov 30, 2025

Copy link
Copy Markdown

Closes #78

@arshaw

arshaw commented Aug 3, 2026

Copy link
Copy Markdown
Member

This was fixed in the v1 launch, which more-or-less ported over the official types from the TypeScript project. Here's what's present now:

export namespace Intl {
  type FormattableTemporalObject =
    | Temporal.PlainDate
    | Temporal.PlainYearMonth
    | Temporal.PlainMonthDay
    | Temporal.PlainTime
    | Temporal.PlainDateTime
    | Temporal.Instant

@arshaw arshaw closed this Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Should ZonedDateTime really be Formattable?

3 participants