Releases: nrkno/simple-date-parse
Releases · nrkno/simple-date-parse
Release list
Correct day when adding/subtracting month/year
- If a month contains 31 days, and you run
+1month, javascript rounds up to the 1st of next month - This is not desired behaviour, as we really want to skip one month (both moment and dayjs agrees here)
simple-date-parsenow adjusts day, to make sure 31 becomes 30 if needed to stay within boundaries
Revert setMilliseconds(0)
- Actually made it harder to compare dates
setMilliseconds(0) for easier comparison
v1.0.1 Release patch 1.0.1