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

Support for formatToParts #114

Closed
amannn opened this issue May 20, 2022 · 1 comment
Closed

Support for formatToParts #114

amannn opened this issue May 20, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@amannn
Copy link
Owner

amannn commented May 20, 2022

Is your feature request related to a problem? Please describe.

This is helpful for rendering individual parts of a date with custom formatting. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/formatToParts.

Describe the solution you'd like

I'm opening this issue to acknowledge that there might be an API missing for this, but the demand seems to be really low, so I haven't thought this through yet.

Note that this could be relevant for various APIs: date, number, lists, …

Describe alternatives you've considered

Using Intl.DateTimeFormat.prototype.formatToParts() directly.

@amannn amannn added the enhancement New feature or request label May 20, 2022
@amannn
Copy link
Owner Author

amannn commented Jan 23, 2024

Closing in favour of #774

@amannn amannn closed this as completed Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant