Repository navigation
chore: add dateStyle to DateTimeFormatOptions - #40906
Matt Hooper (hoop71) wants to merge 4 commits into
Conversation
|
This proposal just made it to stage 4, https://github.com/tc39/proposal-intl-datetime-style#status -- which means it's likely to make it into ES2021 spec - adding it to es5 is probably a bad call (because that spec is ~10 years old), I think this should probably live as an interface extension in So I think it's good for us to take it, but I feel like it should probably live in a place which shows just how modern it is 👍🏻 |
Great! Thanks for all that great information. |
|
It looks like you've sent a pull request to update our 'lib' files. These files aren't meant to be edited by hand, as they consist of last-known good states of the compiler and are generated from 'src'. Unless this is necessary, consider closing the pull request and sending a separate PR to update 'src'. |
|
Thanks for the PR Matt Hooper (@hoop71) - I know it's been a while, I've jsut merged #41880 which builds on your PR and is a bit more accurate to the full types. This should be available in the next release! |
Sweet! Thanks for the solve! |
Fixes #40806
This PR adds support for
dateStyleon DateTimeFormat