×
Namespaces

Variants
Actions
(Difference between revisions)

Archived:DateField implementation bug in Nokia 6600 (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search
Forum Nokia KB (Talk | contribs)
m (1 revision(s))
Forum Nokia KB (Talk | contribs)
Line 1: Line 1:
 +
{{KBKI}}
 
__NOTOC__
 
__NOTOC__
 
__NOEDITSECTION__
 
__NOEDITSECTION__
Line 44: Line 45:
 
|-
 
|-
 
[[Category:Known Issue]][[Category:Java ME]][[Category:S60 2nd Edition]]
 
[[Category:Known Issue]][[Category:Java ME]][[Category:S60 2nd Edition]]
 +
'''Bold text'''

Revision as of 14:41, 23 August 2007

Template:KBKI


Bold text

DateField implementation bug in Nokia 6600

KIJ000445
Overview
DateField does not display time zone offset.
Reported against
S60 2nd Edition, Nokia 6600 (sw version 5.53.0)
Date identified
October 19, 2006
Symptoms
-
Detailed description
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);
datefield.setDate(today);
Now the dateField should have the current date and current time +/- the selected offset value.
Solution
-
127 page views in the last 30 days.
×