{ "id": "151984", "key": "TIMOB-19860", "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": "14826", "description": "Release 5.1.0-remaining iOS9 features, Android M features", "name": "Release 5.1.0", "archived": false, "released": true, "releaseDate": "2015-11-20" } ], "resolution": { "id": "3", "description": "The problem is a duplicate of an existing issue.", "name": "Duplicate" }, "resolutiondate": "2015-11-04T21:30:39.000+0000", "created": "2015-10-13T08:15:51.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "community" ], "versions": [ { "id": "16904", "description": "Release 5.0.2", "name": "Release 5.0.2", "archived": true, "released": true, "releaseDate": "2015-10-01" } ], "issuelinks": [ { "id": "49686", "type": { "id": "10002", "name": "Duplicate", "inward": "is duplicated by", "outward": "duplicates" }, "outwardIssue": { "id": "151377", "key": "TIMOB-19566", "fields": { "summary": "Ti.Locale.currentLanguage returns locale on iOS 9", "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" } }, "priority": { "name": "High", "id": "2" }, "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false } } } } ], "assignee": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2015-11-09T22:28:32.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": "h3. Steps to Reproduce\n\niPad ios 9.0.2\nTi.Locale.currentLanguage: de-DE\nTi.Locale.currentLocale: de-DE\n\nios 8.4 simulator\nTi.Locale.currentLanguage: de\nTi.Locale.currentLocale: de-DE\n\nh3. Actual Result\n\niPad ios 9.0.2\nTi.Locale.currentLanguage: de-DE\nTi.Locale.currentLocale: de-DE\n\nios 8.4 simulator\nTi.Locale.currentLanguage: de\nTi.Locale.currentLocale: de-DE\n\nh3. Expected Result\n\niPad ios 9.0.2\nTi.Locale.currentLanguage: de-DE\nTi.Locale.currentLocale: de-DE\n\nios 8.4 simulator\nTi.Locale.currentLanguage: de << With 2 letters as documented\nTi.Locale.currentLocale: de-DE", "attachment": [ { "id": "56986", "filename": ".log", "author": { "name": "mBahl", "key": "mbahl", "displayName": "Michael Bahl", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-13T08:16:11.000+0000", "size": 1919758, "mimeType": "text/plain" }, { "id": "56987", "filename": "diagnostic3256469361645279029.log", "author": { "name": "mBahl", "key": "mbahl", "displayName": "Michael Bahl", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-10-13T08:16:28.000+0000", "size": 302745, "mimeType": "text/plain" } ], "flagged": false, "summary": "Titanium local differ between simulator to device", "creator": { "name": "mBahl", "key": "mbahl", "displayName": "Michael Bahl", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "mBahl", "key": "mbahl", "displayName": "Michael Bahl", "active": true, "timeZone": "America/Los_Angeles" }, "environment": null, "comment": { "comments": [ { "id": "368278", "author": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "body": "Hi, \r\nI have tested this issue on simulator and device. It looks like the feature *Ti.Locale.currentLanguage* gives different log for iOS 8 and iOS 9. \r\n \r\n*Log for ios 9.0.2*\r\n{code}\r\nTi.API.info(Ti.Locale.currentLanguage);\r\n[INFO] : en-US\r\n{code}\r\n\r\n*Log for ios 8.1*\r\n{code}\r\nTi.API.info(Ti.Locale.currentLanguage);\r\n[INFO] : en\r\n{code}\r\n\r\n*Environment*\r\n{code}\r\nOperating System\r\n Name = Mac OS X\r\n Version = 10.10.5\r\n Architecture = 64bit\r\n # CPUs = 4\r\n Memory = 8589934592\r\nNode.js\r\n Node.js Version = 0.10.37\r\n npm Version = 1.4.28\r\nTitanium CLI\r\n CLI Version = 5.0.5\r\nTitanium SDK\r\n SDK Version = 5.0.2.GA\r\n SDK Path = /Users/Raju/Library/Application Support/Titanium/mobilesdk/osx/5.0.2.GA\r\n Target Platform = iphone\r\n{code}\r\n\r\n\r\nThanks", "updateAuthor": { "name": "aislam", "key": "aislam", "displayName": "Aminul Islam", "active": false, "timeZone": "Etc/GMT-6" }, "created": "2015-10-29T10:15:41.000+0000", "updated": "2015-10-29T10:15:41.000+0000" }, { "id": "369012", "author": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Hello, this is an older bug, we fixed the issue in the 5.1 release. Please download the newest SDK it will fix the issue. Thank you! \r\nhttp://builds.appcelerator.com.s3.amazonaws.com/index.html#5_1_X", "updateAuthor": { "name": "apetkov", "key": "apetkov", "displayName": "Angel Petkov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-11-04T21:02:02.000+0000", "updated": "2015-11-04T21:28:07.000+0000" }, { "id": "369460", "author": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "body": "Closing as duplicate of linked ticket.", "updateAuthor": { "name": "emerriman", "key": "emerriman", "displayName": "Eric Merriman ", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2015-11-09T22:28:27.000+0000", "updated": "2015-11-09T22:28:27.000+0000" } ], "maxResults": 6, "total": 6, "startAt": 0 } } }