Datetime formatting changed from Node v16.16.0 to v16.17.0 but can't find changelog entry #44991
-
In node v16.17.0, a change was introduced which causes different datetime formatting when using In Node v16.16.0, executing: node -e "console.log(new Date().toLocaleDateString('en-US', {weekday:'long', year:'numeric', month:'long', day: 'numeric', hour: 'numeric', minute: 'numeric'}))" produces:
while in Node v16.17.0 we get:
Note the comma before the timestamp changes to the word "at". I'm fine with this change, just trying to understand why it was introduced. I can't seem to find any relevant commits or notes in the changelog: https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V16.md?plain=1. Could anyone with a better understanding of the node project point me to the commit/issue/discussion? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It's the ICU update (to 71.1). See #44454 for discussion. |
Beta Was this translation helpful? Give feedback.
It's the ICU update (to 71.1). See #44454 for discussion.