▲ 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 22 days ago 1 comment
MaxArt 22 days ago. link 2 points ▲ ▼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).