The [ECMAScript Internationalization API](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl) can replace a lot of parts maybe even everything of date-fns and has good support.
Yes with RelativeTimeFormat. It's a really good api! They basically try to undo the fuckup they did with the normal js date =)
Yes with [RelativeTimeFormat](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat). It's a really good api! They basically try to undo the fuckup they did with the normal js date =)
The ECMAScript Internationalization API can replace a lot of parts maybe even everything of date-fns and has good support.
Can it do things like "two hours ago"?
Yes with RelativeTimeFormat. It's a really good api! They basically try to undo the fuckup they did with the normal js date =)
Ohhh right, I remember having read something about this. Finally no more months starting at 0!
Looks great!