Archived:DateField implementation bug in Nokia 6600 (Known Issue)
m (Hamishwillee - Bot update)
m (Removed protection from "KIJ000445 - DateField implementation bug in Nokia 6600": Merging into Wiki)
Revision as of 07:13, 27 March 2012
S60 2nd Edition (initial release)
DateField does not display time zone offset.
DateField doesn't use the time zone offset, but instead always displays the default time of the phone.
How to reproduce
Create a new time zone offset value with the following line:
TimeZone timezone = TimeZone.getTimeZone("GMT-00:30");
The example uses minus 30 minutes as an offset value. Use the created offset values as a parameter in dateField constructor:
today = new Date(System.currentTimeMillis());
datefield = new DateField("title",DateField.DATE_TIME, timezone);
Now the dateField should have the current date and current time +/- the selected offset value.