Skip to content

Date -> Temporal? #312

@dtemkin1

Description

@dtemkin1

FullCalendar 7.0 will require the Temporal polyfill, and with the Temporal API being supported in both Chrome and Firefox (but not all browsers), it may be worth considering switching over our date logic to Temporal instead of Date.

If we do it now, we would probably still have to polyfill with the code below, but would also simplify the date logic we have (and resolve issues like #217).

if (!("Temporal" in globalThis)) {
    await import("temporal-polyfill/global");
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions