Closed coraunderhill closed 5 years ago
@coraunderhill Oh yikes 😲. Thank you for the report
I will fix it~
It seems like the problem also occurs for January as well, where ISO month is set to 0, not 1
Thank you, @coraunderhill. The issue is fixed in version 2.4.4 (and added the tests as well).
Steps to reproduce
Create a new
Date
using December 2018 as your target.Expected behavior
After December 31st is reached, the calendar should roll over into January of 2019
Actual behavior
The calendar continues the month count into 2018-13 instead of 2019-01 as expected
Environment data
npm --version
: 6.4.1