3 ms·
Yes, I’m using date-fns and bits of this pull request [1]. It works very well and uses the Intl browser API to support time zones. Also worth noting that the m
by andy_ppp 8y ago
Yes, I’m using date-fns and bits of this pull request [1]. It works very well and uses the Intl browser API to support time zones.
Also worth noting that the mutable nature of moment can make things very confusing where as date fns is immutable and consistent.
Remember that unless building a calendaring system, all dates should be stored in UTC and only converted into a specific Timezone for presentation.
[1] https://github.com/date-fns/date-fns/pull/707 https://github.com/date-fns/date-fns/pull/707