[TIMOB-17557] Titanium.Locale.currentLocale returns null
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | None |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2016-07-02T06:06:50.000+0000 |
| Affected Version/s | Release 3.3.0 |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | TCSupport, locale, titanium |
| Reporter | Manojkumar Murugesan |
| Assignee | Chee Kiat Ng |
| Created | 2014-08-09T13:12:17.000+0000 |
| Updated | 2016-07-02T06:06:50.000+0000 |
Description
Problem Description
Titanium.Locale.currentLocale return undefined. It’s a bug.Steps to reproduce
1. Create new mobile project (classic titanium) 2. Paste this code into app.js:
Ti.API.info('Titanium.Locale.currentLocale'+ Titanium.Locale.currentLocale);
3. Run this in the simulator.
4. Check Ti Studio Console
Closing as fixed, iOS-Simulator output: