Skip to content

Temporal & Intl for date & time #125

@onx2

Description

@onx2

I didn't see a Wiki for questions and this really isn't an issue so hopefully this is the right spot to ask:

Would d3 consider implementing the date & time manipulation in Temporal once it has reached baseline on browsers? It reached Stage 3 in April and having seen previous proposals reach Stage 4 in 6-12 months, it is worth considering IMO. It is being developed in browsers as experimental right now and judging from the polyfill, it is as robust and ergonomic, if not more so, than 3rd party libraries.

As for formatting, Intl has things like RelativeTimeFormat which could reduce bundle size. Still offering the d3 versions would be nice for those that are actively using them, but switching the implementation under the hood to use browser standards (if not already doing so) could reduce bundle size.

I would be happy to contribute to this if there is interest.

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