Skip to content

Develop a shim for the Temporal proposal, exposing a Moment-like interface #1

@ptomato

Description

@ptomato

Originally from tc39/proposal-temporal#104

Temporal subsumes most of the functionality of Moment.js, but there's a ton of code out there using Moment, and it will take a long time to upgrade to the Temporal API. To make the transition easier, while reducing download size, it'd be great to have an implementation of most of the Moment API in terms of Temporal, if this is possible. Same for Luxon or date-fns.

Link to some experimentation with date-fns: https://github.com/ptomato/temporal-fns/commits/port-to-temporal

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions