Choosing time does not update the input calendar field

Trying to use dhtmlxCalendar component to let user choose datetime but when the user selects a time (hour or minute) the input field does not get updated. Only selecting a date updates the input field.

<!DOCTYPE html>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<link rel="stylesheet" type="text/css" href="../../../codebase/dhtmlxcalendar.css"/>
<body onload="doOnLoad();">
	<div style="position:relative;height:280px;">
		<input type="text" id="calendar">
	<script src="../../../codebase/dhtmlxcalendar.js"></script>
		var myCalendar;
		function doOnLoad() {
			myCalendar = new dhtmlXCalendarObject("calendar");
			myCalendar.setDateFormat('%d/%m/%Y %h:%i %a');

It works fine locally. We need completed demo to test your issue.
It seems like you can use any old version…

ok let me attach a demo of the issue:

The page also includes a screencast with the behaviour described.

The guide of creartion completed demo is here: … pport.html

attached. (277 KB)

Oh, sorry… Didn’t understand you…
Yes, it will not change: it is standard calend behaviour. Input value will change only by on DATE click.

You could try this:
dhxCalendar.attachEvent(“onTimeChange”, function(d){
document.getElementById(id_of_input).value = dhx4.date2str(d, this._dateFormat);