{ "id": "142208", "key": "TIMOB-18302", "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": [], "resolution": null, "resolutiondate": null, "created": "2015-01-04T13:00:18.000+0000", "priority": null, "labels": [ "android" ], "versions": [], "issuelinks": [], "assignee": null, "updated": "2018-02-28T19:55:59.000+0000", "status": { "description": "The issue is open and ready for the assignee to start work on it.", "name": "Open", "id": "1", "statusCategory": { "id": 2, "key": "new", "colorName": "blue-gray", "name": "To Do" } }, "components": [ { "id": "10202", "name": "Android", "description": "Android Platform" } ], "description": "When retrieving a javascript Date object from App.Properties with Ti.App.Properties.getObject that has been saved with Ti.App.Properties.setObject, it is returned as a string on Android.\r\n\r\n*Example:*\r\n\r\n{noformat}\r\nvar date = new Date();\r\nTi.App.Properties.setObject(\"date\", date);\r\nvar retrievedDate = Ti.App.Properties.getObject(\"date\");\r\nconsole.log(typeof retrievedDate);\r\n// On android this will echo \"string\"\r\n// On iOS this will echo \"object\"\r\n{noformat}\r\n", "attachment": [], "flagged": false, "summary": "Date object saved with App.Properties.setObject retrieved as string with getObject on Android", "creator": { "name": "michielve", "key": "michielve", "displayName": "Michiel van Eerd", "active": true, "timeZone": "Europe/Berlin" }, "subtasks": [], "reporter": { "name": "michielve", "key": "michielve", "displayName": "Michiel van Eerd", "active": true, "timeZone": "Europe/Berlin" }, "environment": "CLI version 3.4.1\r\nTitanium SDK version 3.4.1.GA\r\nOS: Mac OS X 10.10.1\r\n", "comment": { "comments": [ { "id": "387103", "author": { "name": "CREATIVE KAIZEN", "key": "creative kaizen", "displayName": "CREATIVE KAIZEN", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This bug is stil valid for 5.2.2GA.\r\nAny chance to fix it?", "updateAuthor": { "name": "CREATIVE KAIZEN", "key": "creative kaizen", "displayName": "CREATIVE KAIZEN", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2016-05-30T06:36:03.000+0000", "updated": "2016-05-30T06:36:03.000+0000" } ], "maxResults": 2, "total": 2, "startAt": 0 } } }