-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
18.20, 20.12 update changed output of Date().toLocaleString('nl'); #52244
Comments
Update, just tested this on node 20.12 and it has the same issue (not present in node 20.11) |
According to #51090 (comment) cc @flakey-bit |
In my opinion, breaking changes that don't have positive sides or just for the sake of changing should not be allowed on the same major. |
I am not member of ICU data handling is hard, because it always changing and breaking. |
The issue is that such changes are quite hard to detect, and even harder to decide if such change has a positive side or not – e.g. in this case, for someone who is not Dutch, it's hard to judge whether that comma is important or not. As you can imagine, there are much harder cases, and even with all the time in the world, there would be no way for us to try to assess each change. I'm going to close this issue as "Won't fix". |
Version
18.20.0, 20.12.0
Platform
Linux, Mac
Subsystem
No response
What steps will reproduce the bug?
in Node 18.19, 20.11:
> new Date().toLocaleString('nl');
'28-3-2024 08:17:14'
in Node 18.20, 20.12:
> new Date().toLocaleString('nl');
'28-3-2024, 08:17:14'
After the 18.20 update a comma was added after the date.
How often does it reproduce? Is there a required condition?
Always
What is the expected behavior? Why is that the expected behavior?
I would not expect output to just change. Broke some tests for us at least
What do you see instead?
Additional information
No response
The text was updated successfully, but these errors were encountered: