Calendar mode timepicker not working

https://snippet.dhtmlx.com/93sc6tt1

The mode timepicker does not work in Calendar.

in suite.js i change this:

switch (_this.config.mode) {
case “month”:
_this._currentViewMode = “month”;
break;
case “year”:
_this._currentViewMode = “year”;
break;
default:
_this._currentViewMode = “calendar”;
}

to this:

switch (_this.config.mode) {
case “month”:
_this._currentViewMode = “month”;
break;
case “year”:
_this._currentViewMode = “year”;
break;
//TODO: timepicker
case “timepicker”:
_this._currentViewMode = “timepicker”;
break;
default:
_this._currentViewMode = “calendar”;
}

and works now.

Please, try to use the timePicker property: