Just downloaded Dhtmlx Calendar 6.0 (using 5.x before), and there’s a big issue with the
Calendar.setDate method when a
dateFormat like “%d/%m/%y” is used.
To reproduce the issue :
- set the
- create the calendar as a popup, and on the click event, call
setDatewith December 31 2019 date, that is to say “31/12/19” according to the
- notice that the date on the UI is “corrected” to 01/12/2019 (December 1 2019).
Same thing happens with October 31, etc.
By the way, there’s no issue with 5.x release.