MaxArt 7 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).