Closed dmouriss closed 10 months ago
Javascript doesn't always handle the set
methods on Date objects as you would suspect, especially when it's the end of the month.
const date = new Date(); //On Aug 29 2023
date.setMonth(1);
//date is now Mar 01 2023, since Feb 29 2023 does not exist
date.setMonth(1);
//date is now Feb 01 2023, since Feb 01 does exist.
Any update on this @Yooooomi ?
Thanks a lot for the contribution, sorry I have not been able to reach out sooner.
fixes #143