{ "id": "63490", "key": "TIMOB-2858", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "11239", "name": "Release 1.6.0 M06", "archived": true, "released": true, "releaseDate": "2011-01-24" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2011-04-17T02:00:16.000+0000", "created": "2011-04-15T03:31:20.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "android", "date", "defect", "enterprise", "picker", "release-1.5.2", "release-1.6.0", "reported-1.5.1", "rplist" ], "versions": [], "issuelinks": [], "assignee": { "name": "dthorp", "key": "dthorp", "displayName": "Don Thorp", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2011-04-17T02:00:16.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "{html}

Ticket Reference: http://developer.appcelerator.com/helpdesk/view/66871

\n

Using the Picker widget with the useSpinner flag set to true,\nthe system ignores the users timezone and displays GMT.

\n
\nvar d = new Date();\nTi.API.error(\"The date is: \" + d);\n \n//[ERROR] [942,1315] The date is: Mon Jan 17 2011 15:09:31 GMT-0800 (PST)\n \nvar timePicker = Ti.UI.createPicker({\n    type: Ti.UI.PICKER_TYPE_TIME,\n    useSpinner:true,\n    value:d\n});\nwin.add(timePicker);\nwin.open();\n
{html}", "attachment": [], "flagged": false, "summary": "Android: Ti.UI.PICKER_TYPE_TIME not checking timezone", "creator": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "aleard", "key": "aleard", "displayName": "Alan Leard", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "129568", "author": { "name": "andreassandberg", "key": "andreassandberg", "displayName": "Andreas sandberg", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

This bug affects all UI widgets that can receive their value\nproperty as a date object so at least four widgets are affected,\ncan we bump up the priority to high? Also, I have submitted a pull\nrequest for the fix: https://github.com/appcelerator/titanium_mobile/pull/60

{html}", "updateAuthor": { "name": "andreassandberg", "key": "andreassandberg", "displayName": "Andreas sandberg", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:31:21.000+0000", "updated": "2011-04-15T03:31:21.000+0000" }, { "id": "129569", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [20640931bf29aada4f66a0152c57ad102db12211])\n[#2858 state:fixed-in-qa] adjust\nTiConvert.toJSONString so it properly puts the string\nrepresentation of the date in UTC rather than local \nhttps://github.com/appcelerator/titanium_mobile/commit/20640931bf29...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:31:22.000+0000", "updated": "2011-04-15T03:31:22.000+0000" }, { "id": "129570", "author": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "body": "{html}

(from [84c6ea58ceae9dc0f52d909548db7352ab8368f5])\n[#2858 state:fixed-in-qa] adjust\nTiConvert.toJSONString so it properly puts the string\nrepresentation of the date in UTC rather than local \nhttps://github.com/appcelerator/titanium_mobile/commit/84c6ea58ceae...

{html}", "updateAuthor": { "name": "billdawson", "key": "billdawson", "displayName": "Bill Dawson", "active": true, "timeZone": "Europe/Berlin" }, "created": "2011-04-15T03:31:22.000+0000", "updated": "2011-04-15T03:31:22.000+0000" }, { "id": "129571", "author": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "body": "{html}

verified on Nexus S / 2.3.2

{html}", "updateAuthor": { "name": "mculpepper", "key": "mculpepper", "displayName": "Marshall Culpepper", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2011-04-15T03:31:23.000+0000", "updated": "2011-04-15T03:31:23.000+0000" } ], "maxResults": 4, "total": 4, "startAt": 0 } } }