The difference is the following
currentStart => 1st day of selected month activeStart => 1st date displayed in the calendar
My problem was that I forgot that in Javascript the month start with 0, and had to add 1 to get the correct month