This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author GiftZwergrapper
Recipients GiftZwergrapper, lemburg
Date 2020-10-26.13:33:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1603719185.4.0.390571957235.issue42156@roundup.psfhosted.org>
In-reply-to
Content
I found that the currency formatting does not work correctly for all locales. For example:

{{{
import locale

amount = 24.99
locale.setlocale(locale.LC_ALL, 'it_IT.UTF-8')

price = locale.currency(amount)

print(price)
}}}

returns "€ 24,99".
It should return "24,99 €", just like noted at http://publications.europa.eu/code/it/it-370303.htm
under "Posizione del simbolo (€) negli importi in cifre".
History
Date User Action Args
2020-10-26 13:33:05GiftZwergrappersetrecipients: + GiftZwergrapper, lemburg
2020-10-26 13:33:05GiftZwergrappersetmessageid: <1603719185.4.0.390571957235.issue42156@roundup.psfhosted.org>
2020-10-26 13:33:05GiftZwergrapperlinkissue42156 messages
2020-10-26 13:33:05GiftZwergrappercreate