You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.
I've seen this issue linked from python-babel/babel#90. You need to keep in mind that format_currency and format_decimal have different number patterns by default. Since you can specify an explicit number pattern, my advice is to to the following:
Extract the default currency pattern of the locale in use
Remove the currency symbols from it: ¤
Use the result as an explicit pattern to either format_decimal or format_currency
Raised on Twitter (cc: @JVimes). The issue is that we're using
format_decimal
there, and it doesn't know how to enforce two decimal places.I think there may be other places we're afflicted by this as well? Maybe re: widgets?
The text was updated successfully, but these errors were encountered: