Skip to content
This repository has been archived by the owner on Jul 2, 2018. It is now read-only.

Wrong Formatting for specific Locale ? #51

Open
sawijaya opened this issue May 21, 2016 · 1 comment
Open

Wrong Formatting for specific Locale ? #51

sawijaya opened this issue May 21, 2016 · 1 comment
Labels

Comments

@sawijaya
Copy link

Hi,,
i'm trying to change format specific with locale and region on my device is United States,
but why the currency format still using US ($) not adjust with my specific locale
example
let money: Money = 9999
debugPrint(money.formattedWithStyle(.CurrencyStyle, forLocale: .Indonesian))
output:
"$9.999,00"
Why format still $ not IDR(Rp) ?

Any ideas?

@danthorpe
Copy link
Owner

Hmm, I think this is probably a bug in how Money is figuring out the NSLocale. I will look into it, but won't have an opportunity for a couple of days.

@danthorpe danthorpe added the bug label May 21, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants