News for hackers. Stuff that matters.
Re:Intl by baumandm on Wednesday June 02, 2021 @05:00PM (#27373962)
date-fns actually barely uses Intl. Rather, it has custom locale files that must be imported to use: https://date-fns.org/v2.22.1/docs/I18n. There is a single intlFormat function: https://date-fns.org/v2.22.1/docs/intlFormat

Once I realized this I switched to Luxon, which is entirely Intl based: https://moment.github.io/luxon/docs/manual/intl.html

There are no comments on this comment yet.