JavaScript in the morning, JavaScript in the evening... #60
Replies: 1 comment 1 reply
-
I wonder who decides on the unique values. Why include noon but not midnight? I could see using it to decide on a greeting, like good morning, afternoon, or evening. Not a fan of the en-US after midnight labeled as at night instead of morning. French version makes more sense here. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
JavaScript in the morning, JavaScript in the evening...
A look at Intl and the dayPeriod value.
https://www.raymondcamden.com/2025/05/19/javascript-in-the-morning-javascript-in-the-evening
Beta Was this translation helpful? Give feedback.
All reactions