{ "id": "173419", "key": "ALOY-1682", "fields": { "issuetype": { "id": "4", "description": "An improvement or enhancement to an existing feature or task.", "name": "Improvement", "subtask": false }, "project": { "id": "11113", "key": "ALOY", "name": "Alloy", "projectCategory": { "id": "10400", "description": "Tools for developing applications", "name": "Tooling" } }, "fixVersions": [ { "id": "20671", "description": "Alloy items that will be included in CLI 7.1.0", "name": "CLI Release 7.1.0", "archived": false, "released": true, "releaseDate": "2019-08-13" }, { "id": "20836", "name": "Alloy 1.14.0", "archived": false, "released": true, "releaseDate": "2019-07-05" } ], "resolution": { "id": "1", "description": "A fix for this issue is checked into the tree and tested.", "name": "Fixed" }, "resolutiondate": "2019-06-20T13:21:57.000+0000", "created": "2019-04-01T06:27:56.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [], "versions": [], "issuelinks": [], "assignee": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "updated": "2019-06-20T13:21:57.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": "13610", "name": "Builtins", "description": "Builtin Javascript libraries" } ], "description": "Upgrade Titanium Alloy to use new MomentJS version 2.24.0 that was released at Jan 2019\r\n\r\n[*Changelog*|https://github.com/moment/moment/blob/develop/CHANGELOG.md]", "attachment": [], "flagged": false, "summary": "Alloy: MomentJS upgrading to v2.24.0", "creator": { "name": "ahmed.mohamed20320", "key": "ahmed.mohamed20320", "displayName": "Ahmed Mohamed", "active": true, "timeZone": "Africa/Cairo" }, "subtasks": [], "reporter": { "name": "ahmed.mohamed20320", "key": "ahmed.mohamed20320", "displayName": "Ahmed Mohamed", "active": true, "timeZone": "Africa/Cairo" }, "environment": null, "comment": { "comments": [ { "id": "447389", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "Previous PR and ticket for reference https://github.com/appcelerator/alloy/pull/884 ALOY-1603.\r\n\r\nNote, we should also update the builtin locales", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2019-04-01T09:50:58.000+0000", "updated": "2019-04-01T09:50:58.000+0000" }, { "id": "447423", "author": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "body": "PR: https://github.com/appcelerator/alloy/pull/928", "updateAuthor": { "name": "eharris", "key": "eharris", "displayName": "Ewan Harris", "active": true, "timeZone": "Europe/Dublin" }, "created": "2019-04-02T10:02:45.000+0000", "updated": "2019-04-02T10:02:45.000+0000" }, { "id": "449229", "author": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "body": "*Closing ticket*, Fix verified in CLI Version {{7.1.0-master.21}} Able to see the update to MomentJS within the code and tested using the moment sample app.\r\n\r\n*Test steps*\r\n# Create a new application with the moment template\r\n{code:java}\r\nappc new --testapp advanced/momentjs\r\n{code}\r\n# Added new lags in the {{index.js}} along with their related {{requires}}\r\ne.g.\r\n{code:java}\r\nvar langs = [\r\n\t'en', // default\r\n\t'es', // added automatically since it's in the \"i18n\" project folder\r\n\t'de', // added via require() below\r\n\t'fr', // added via require() below\r\n\t'az',\r\n\t'bg',\r\n\t'bm'\r\n\r\n];\r\n{code}\r\n{code:java}\r\nrequire('alloy/moment/lang/de');\r\nrequire('alloy/moment/lang/fr');\r\nrequire('alloy/moment/lang/az');\r\nrequire('alloy/moment/lang/bg');\r\nrequire('alloy/moment/lang/bm');\r\n{code}\r\n# ran the application \r\n# Clicked through the languages\r\n\r\n*Test Environment*\r\n{code:java}\r\nSDK: 8.0.2.GA\r\niphone 6 (12.2)\r\nGoogle pixel XL (7.1)\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.14.4\r\n Architecture = 64bit\r\n CPUs = 8\r\n Memory = 16.0GB\r\nNode.js\r\n Node.js Version = 10.13.0\r\n npm Version = 6.4.1\r\nAppcelerator CLI\r\n Installer = 4.2.14-3\r\n Core Package = 7.1.0-master.21\r\nTitanium CLI\r\n CLI Version = 5.2.1\r\n node-appc Version = 0.2.49\r\n{code}", "updateAuthor": { "name": "smohammed", "key": "smohammed", "displayName": "Samir Mohammed", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2019-06-20T13:21:42.000+0000", "updated": "2019-06-20T13:21:42.000+0000" } ], "maxResults": 3, "total": 3, "startAt": 0 } } }