Hi,
I have trouble that when picking a date from the popup calendar of a dateitem that the date displayed in the text field moves one day. It does not occur when I set the default display time zone offset to 0 (Time.setDefaultDisplayTimezone(0)).
Checking the source code of the DateItem I see something strange in the pickerDataChanged method:
shouldn't this be (note the new first parameter to inheritsFrom):
gr. Martin
I have trouble that when picking a date from the popup calendar of a dateitem that the date displayed in the text field moves one day. It does not occur when I set the default display time zone offset to 0 (Time.setDefaultDisplayTimezone(0)).
Checking the source code of the DateItem I see something strange in the pickerDataChanged method:
Code:
var type = this.getType(), useCustomTimezone = !isc.SimpleType.inheritsFrom("date") || isc.SimpleType.inheritsFrom("datetime");
Code:
var type = this.getType(), useCustomTimezone = !isc.SimpleType.inheritsFrom(type, "date") || isc.SimpleType.inheritsFrom(type, "datetime");
Comment