Detected with Smartclient 8.3 (v8.3p_2013-04-25/Pro Deployment (built 2013-04-25)) but same error with Smartclient 9.0
Reproduced with the last version of SC8.3 from the feature explorer : http://smartclient.com/docs/8.3/a/system/reference/SmartClient_Explorer.html
Past the code below, enter a time value for the "Ma Time" field and click the "serialize" button. In the console, the serialized form contains a date like "1970-01-01" instead of the inputted time.
Tested with Firefox 24 and Chromium 28
Reproduced with the last version of SC8.3 from the feature explorer : http://smartclient.com/docs/8.3/a/system/reference/SmartClient_Explorer.html
Past the code below, enter a time value for the "Ma Time" field and click the "serialize" button. In the console, the serialized form contains a date like "1970-01-01" instead of the inputted time.
Code:
var filter = isc.FilterBuilder.create({
dataSource: isc.DataSource.create({
ID: "dateTest",
clientOnly: true,
fields: [{title:"Ma Time", name:"atime", type:"time"}]
})
});
var button = isc.IButton.create({
title: "Serialize",
click: function() {
var txt = DataSource.getDataSource("dateTest").xmlSerialize(filter.getCriteria(true));
console.log(txt);
}
});
isc.VLayout.create({members: [filter, button]});
Comment