GWT 2.0.4
SmartGWT 2.2
All browsers, Windows XP SP3
While in Development mode
When calling
The timezone offset is set to "+07:00", this can be confirmed by then calling Time.getDefaultDisplayTimezone() and it displays "+07:00".
the bug is in Time.js in setDefaultDisplayTimezone. If you pass a String that starts with "-" the hours is multipled by -1 and you lose the "-".
SmartGWT 2.2
All browsers, Windows XP SP3
While in Development mode
When calling
Code:
DateUtil.setDefaultDisplayTimezone("-07:00");
the bug is in Time.js in setDefaultDisplayTimezone. If you pass a String that starts with "-" the hours is multipled by -1 and you lose the "-".
Comment