Namespaces
Variants
Actions
(Difference between revisions)

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

Jump to: navigation, search
m (Protected "KIJ000445 - DateField implementation bug in Nokia 6600" [edit=sysop:move=sysop])
m
Line 2: Line 2:
 
__NOTOC__
 
__NOTOC__
 
__NOEDITSECTION__
 
__NOEDITSECTION__
{|border="2" cellspacing="0" cellpadding="4" width="100%"
+
{{KnowledgeBase
|colspan = "2"|
+
|id=KIJ000445
====DateField implementation bug in Nokia 6600====
+
|platform=S60 2nd Edition
|
+
|devices=Nokia 6600 (sw version 5.53.0)
=====KIJ000445=====
+
|category=
 +
|subcategory=
 +
|creationdate=October 19, 2006
 +
|keywords=
 +
}}
  
|-
+
==Overview==
|
+
DateField does not display time zone offset.  
======Overview======
+
|colspan = "2"|DateField does not display time zone offset.  
+
  
|-
+
==Description==
|
+
DateField doesn<nowiki>’</nowiki>t &nbsp;use the time zone offset, but instead always displays the default time of the phone.  
======Reported against======
+
|colspan = "2"|S60 2nd Edition, Nokia 6600 (sw version 5.53.0)
+
  
|-
+
==How to reproduce==
|
+
Create a new time zone offset value with the following line:<br>TimeZone timezone = TimeZone.getTimeZone("GMT-00:30");<br>The example uses minus 30 minutes as an offset value. Use the created offset values as a parameter in dateField constructor:<br>today = new Date(System.currentTimeMillis());<br>datefield = new DateField("title",DateField.DATE_TIME, timezone);<br>datefield.setDate(today);<br>Now the dateField should have the current date and current time <nowiki>+</nowiki>/- the selected offset value.
======Date identified======
+
|colspan = "2"|October 19, 2006
+
  
|-
 
|
 
======Symptoms======
 
|colspan = "2"|-
 
 
|-
 
|
 
======Detailed description======
 
|colspan = "2"|DateField doesn<nowiki>’</nowiki>t &nbsp;use the time zone offset, but instead always displays the default time of the phone.
 
 
|-
 
|
 
======How to reproduce======
 
|colspan = "2"|Create a new time zone offset value with the following line:<br>TimeZone timezone = TimeZone.getTimeZone("GMT-00:30");<br>The example uses minus 30 minutes as an offset value. Use the created offset values as a parameter in dateField constructor:<br>today = new Date(System.currentTimeMillis());<br>datefield = new DateField("title",DateField.DATE_TIME, timezone);<br>datefield.setDate(today);<br>Now the dateField should have the current date and current time <nowiki>+</nowiki>/- the selected offset value.
 
 
|-
 
|
 
======Solution======
 
|colspan = "2"|-
 
 
|-
 
 
[[Category:Known Issue]][[Category:Java ME]][[Category:S60 2nd Edition]]
 
[[Category:Known Issue]][[Category:Java ME]][[Category:S60 2nd Edition]]

Revision as of 15:23, 15 October 2008

Template:KBKI


Article Metadata

Tested with
Devices(s): Nokia 6600 (sw version 5.53.0)

Compatibility
Platform(s): S60 2nd Edition

Article
Created: (19 Oct 2006)
Last edited: extkbeditor2 (15 Oct 2008)

Overview

DateField does not display time zone offset.

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.

199 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved