Hacker Timesnew | past | comments | ask | show | jobs | submitlogin
Mastering date formatting using Intl.DateTimeFormat in JavaScript (rafaelcamargo.com)
1 point by rcamargo on May 31, 2024 | hide | past | favorite | 1 comment


Hello, folks!

For a long time, libraries like MomentJS and DateFNS reigned supreme when it came to date manipulation. Although they still satisfy very specific use cases, if all you need is to simply format a date, you might already be able to meet your needs with just native JavaScript.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: