Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
markussss
3 months ago
|
parent
|
context
|
favorite
| on:
Ask HN: Library that maps clock times to human ter...
There are probably several libraries that offer this functionality, the question is just what your other requirements are. It is also built into most modern web browsers, just check out the MDN for Intl.DateTimeFormat with the dayPeriod option [1].
[1]:
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
[1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...