[TIMOB-11202] iOS: Ti.Locale.getCurrencySymbol('SGD') is returning wrong symbol for Singapore Dollar
GitHub Issue | n/a |
Type | Bug |
Priority | High |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 2.1.2, Release 2.1.3, Release 3.1.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | api, supportTeam |
Reporter | Nikhil Sharma |
Assignee | Unknown |
Created | 2012-09-28T00:54:04.000+0000 |
Updated | 2018-02-28T20:04:01.000+0000 |
Description
Ti.Locale.getCurrencySymbol('SGD') doesn't return right symbol for Singapore Dollar. It is returning "SGD" instead of "$". The currency symbols are working fine for other currencies like USD, GBP, CAD, INR, etc. Please find the screenshot and app.js attached.
Repo Steps
1. Run the attached app.js in your project.
2. Click the "Show" button.
3. It'll show the currency symbols.
Attachments
Issue reproduces Tested with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 Titanium SDK version: 3.0.2 iOS iPhone Simulator: iOS SDK version: 6.