dhtmlxCalendar time 00:00

Hi,
using dhtmlxCalendar, the time is reset to 00:00.

Demo file: 01_attach_to_input2.html
01_attach_to_input2.zip (657 Bytes)

How to reproduce the problem:


What I use:
• dhtmlxCalendar_v50_std
• Firefox 47.0
• Internet Explorer 11
• Microsoft Edge
• Windows 10 Pro 64 bit

Best regards
Danilo

Hi

default dateFormat is set to %Y-%m-%d thus calendar updates input and fill with zero other values. try before init:

dhtmlXCalendarObject.prototype.langData.en.dateformat = "%Y-%m-%d %H:%i";

It work well.
Thank you!