Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Temporal & Intl for date & time #125

Open
onx2 opened this issue Jul 1, 2024 · 0 comments
Open

Temporal & Intl for date & time #125

onx2 opened this issue Jul 1, 2024 · 0 comments

Comments

@onx2
Copy link

onx2 commented Jul 1, 2024

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.

@Fil Fil transferred this issue from d3/d3-format Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant