{ "id": "61433", "key": "TIMOB-801", "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": { "id": "5", "description": "All attempts at reproducing this issue failed, or not enough information was available to reproduce the issue. Reading the code produces no clues as to why this behavior would occur. If more information appears later, please reopen the issue.", "name": "Cannot Reproduce" }, "resolutiondate": "2012-05-09T10:25:59.000+0000", "created": "2011-04-15T02:36:43.000+0000", "priority": { "name": "Medium", "id": "3" }, "labels": [ "core" ], "versions": [], "issuelinks": [], "assignee": { "name": "ngupta", "key": "ngupta", "displayName": "Neeraj Gupta", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-28T17:11:24.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": "10206", "name": "iOS", "description": "iOS Platform" } ], "description": "{html}
I have been using the datejs library in my app since 0.8. As\r\nof 1.1.0 I have been getting a lot of failures in the Date.parse()\r\nfunction. Parsing times with AM or PM (eg. '8:11 AM') specified\r\nwill always fail and return null. '8:11' without the AM works\r\nfine.
\r\nI have uploaded a sample app that recreates the issue to\r\npastie. You can checkout the\r\ndate.js from svn, but\r\nTitanium has issues parsing it. I have uploaded a version that gets\r\nrid of the compiler warnings to pastie.
\r\nAgain, this was working fine in Titanium 0.8 and 1.0, but fails\r\nin 1.10 and higher.
\r\nIt seems to work fine on actual hardware. It only fails on the\r\niPhone simulator (v3.1+).