5 ms·
This is fantastic, however it doesn't really completely replace the reasons for using something like date-fns. Stuff like a "time-range" (both a "computer" val
by Klathmon 8y ago
This is fantastic, however it doesn't really completely replace the reasons for using something like date-fns.
Stuff like a "time-range" (both a "computer" value, and a "humanized" one like "10 minutes ago"), and other nice to haves.
There's no reason this can't be a good base going forward though! And for what it does cover, I really like the API.
- oldmanhorton 8y agoThere is an Intl.RelativeTimeFormat proposal as well: https://github.com/tc39/proposal-intl-relative-time/blob/master/README.md https://github.com/tc39/proposal-intl-relative-time/blob/mas...