I am getting the same week for these two dates even though they are in different weeks when looking at a calendar. What am I doing wrong?
moment()
.set({
year: 1982,
month: 3,
day: 21,
hour: 0,
})
.weeks()
moment()
.set({
year: 1982,
month: 3,
day: 26,
hour: 0,
})
.weeks()
Result is 17 for both.