▲ I got tired of shipping huge date libraries, so I built a 2KB alternative at date-light.flyingsquirrel.me▼1 up and 0 down, posted by flyingsquirrel 9 hours ago 1 comment
MaxArt 7 hours ago. link 1 point ▲ ▼Nice set of utilities. Some notes: - it only works in English: consider using Intl.DateTimeFormat for other localizations; - endOfMonth has a bug if the next month has less days than the given date (oddly, addMonth takes it into consideration).