Message379662
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". |
|
Date |
User |
Action |
Args |
2020-10-26 13:33:05 | GiftZwergrapper | set | recipients:
+ GiftZwergrapper, lemburg |
2020-10-26 13:33:05 | GiftZwergrapper | set | messageid: <1603719185.4.0.390571957235.issue42156@roundup.psfhosted.org> |
2020-10-26 13:33:05 | GiftZwergrapper | link | issue42156 messages |
2020-10-26 13:33:05 | GiftZwergrapper | create | |
|