3 ms·
How come the js-joda library is never mentioned in discussions about javascript date/time libraries? its API is perfect and it has been around forever. but inst
by throwaway858 5y ago
How come the js-joda library is never mentioned in discussions about javascript date/time libraries? its API is perfect and it has been around forever. but instead the community seems to keep inventing more and more new datetime libraries. i don't understand why js-joda seems to be ignored
https://js-joda.github.io/js-joda/ https://js-joda.github.io/js-joda/
- no_wizard 5y agoFor me it’s the size. From their own site js joda states it’s “small” at 43 kB minified and compressed I’ve routinely worked with date-fns and found it is usually 20KB or less
- jestar_jokin 5y agodate-fns does not support time zones, so it's not really comparable. (Although it looks like `js-joda` doesn't contain the time zone database, for that you also need `@js-joda/timezone`, and the IANA TZ DB as generated by `moment-timezone`. Oh boy!)