Home Forums Report Bugs January 29-30-31 Reply To: January 29-30-31

#28270

@tnt,

In JavaScript Month starts from 0 (January) and ends at 11(December). So in your case, new Date(2020, 01, 30) and new Date(2020, 01, 31) represents 1st of March and 2nd March respectively. Changing new Date(2020, 01, 30) to new Date(2020, 00, 30) and new Date(2020, 01, 31) to new Date(2020, 00, 31) should work fine in your case.

—-
Manoj Mohan
Team CanvasJS