We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
v18.20.0
Linux XLW-5CD9332MDP 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
No response
const date = new Date(Date.UTC(2020, 11, 20, 3, 23, 16, 738)); console.log( new Intl.DateTimeFormat('en-NZ', { dateStyle: 'medium', timeStyle: undefined, }).format(date), );
Output for Node 18.19.1: 19/12/2020 Output for Node 18.20.0: 19 Dec 2020
19/12/2020
19 Dec 2020
NB: Output for Node 20+ is as-per 18.20.0
Chrome/Firefox behave as-per Node 18.19.1 which makes me question whether this is a regression (I'm aware 18.20 included ICU updates).
Reproduces consistently.
Expected behaviour is as-per Node 18.19.1 because that behaviour also matches Firefox and Chrome
i.e. expected output 19/12/2020
Observed output is 19 Dec 2020
The text was updated successfully, but these errors were encountered:
This is quite likely to be related to #52244
Sorry, something went wrong.
Yes, it's the same as #52244. Chrome Canary also shows the new format.
No branches or pull requests
Version
v18.20.0
Platform
Linux XLW-5CD9332MDP 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
Subsystem
No response
What steps will reproduce the bug?
Output for Node 18.19.1:
19/12/2020
Output for Node 18.20.0:
19 Dec 2020
NB: Output for Node 20+ is as-per 18.20.0
Chrome/Firefox behave as-per Node 18.19.1 which makes me question whether this is a regression (I'm aware 18.20 included ICU updates).
How often does it reproduce? Is there a required condition?
Reproduces consistently.
What is the expected behavior? Why is that the expected behavior?
Expected behaviour is as-per Node 18.19.1 because that behaviour also matches Firefox and Chrome
i.e. expected output
19/12/2020
What do you see instead?
Observed output is
19 Dec 2020
Additional information
No response
The text was updated successfully, but these errors were encountered: