Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11202] iOS: Ti.Locale.getCurrencySymbol('SGD') is returning wrong symbol for Singapore Dollar

GitHub Issuen/a
TypeBug
PriorityHigh
StatusOpen
ResolutionUnresolved
Affected Version/sRelease 2.1.2, Release 2.1.3, Release 3.1.0
Fix Version/sn/a
ComponentsiOS
Labelsapi, supportTeam
ReporterNikhil Sharma
AssigneeUnknown
Created2012-09-28T00:54:04.000+0000
Updated2018-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

FileDateSize
app.js2012-09-28T00:54:04.000+0000886
Screen Shot 2012-09-27 at 4.40.32 PM.png2012-09-28T00:54:04.000+000063749

Comments

  1. Shameer Jan 2013-04-08

    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.

JSON Source