Hello,
I dont want to do any timezone converions from smartgwt end. For this iam setting property DateUtil.setDefaultDisplayTimezone("+00:00") immediately on my module load... but seems to be its not working in my Listgrid aswell as DateItem too... its converting the server time to my local time according to respective timezone
Eg: Server time is 15th Dec 2010 10:14:40 AM then
Client time is being converting to 15th Dec 2010 03:44:40 PM
SmartGWT Version : 2.3
Sample Code :
ListGridField createdDt = new ListGridField("createdDt","Created Date", 70);
Datasource code:
DataSourceDateField createdDt = new DataSourceDateField("createdDt");
On immediate OnModule load, i am calling DateUtil.setDefaultDisplayTimezone("+00:00").
FYI... i even tried out DateUtil.setDefaultDisplayTimezone("00:00") by removing +/- sign.
Can anyone help me out...
Also tell me from which GWT version this will work?
Thanks,
Bala
I dont want to do any timezone converions from smartgwt end. For this iam setting property DateUtil.setDefaultDisplayTimezone("+00:00") immediately on my module load... but seems to be its not working in my Listgrid aswell as DateItem too... its converting the server time to my local time according to respective timezone
Eg: Server time is 15th Dec 2010 10:14:40 AM then
Client time is being converting to 15th Dec 2010 03:44:40 PM
SmartGWT Version : 2.3
Sample Code :
ListGridField createdDt = new ListGridField("createdDt","Created Date", 70);
Datasource code:
DataSourceDateField createdDt = new DataSourceDateField("createdDt");
On immediate OnModule load, i am calling DateUtil.setDefaultDisplayTimezone("+00:00").
FYI... i even tried out DateUtil.setDefaultDisplayTimezone("00:00") by removing +/- sign.
Can anyone help me out...
Also tell me from which GWT version this will work?
Thanks,
Bala
Comment