Closed williamsjokvist closed 10 months ago
This PR fixes date offset by -1, e.g. where month 12 is rendered as November instead of December.
Months start at 0 in JS when calling getMonth from a Date, but in the constructor it expects it to start at 1.
getMonth
Date
This PR fixes date offset by -1, e.g. where month 12 is rendered as November instead of December.
Months start at 0 in JS when calling
getMonth
from aDate
, but in the constructor it expects it to start at 1.