-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add currency
formatter
#190
Conversation
One recursion is happening that rustc fails compiling. Trying to identify the place. Please let me know if you've been able to find it. |
@@ -49,8 +49,8 @@ | |||
"datetime_formatting": "{{ date, datetime }}", | |||
"number_formatting": "{{ num, number }}", | |||
"number_formatting_grouping": "{{ num, number(grouping_strategy: never) }}", | |||
"currency_formatting": "{{ num, currency(country_code: USD) }}", | |||
"currency_formatting_width": "{{ num, currency(width: narrow, country_code: USD) }}", | |||
"currency_formatting": "{{ num, currency(currency_code: FRA) }}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ha yes, the old french franc, the currency of the future
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just found out there isn't any FRA in the table!! https://www.iban.com/currency-codes
I should change the tests...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oups I saw the message just after merging, if you want to update the test with EUR I'd appreciate it !
Looks really great, thanks a lot! The only thing I would look into is to make |
I made it optional in the |
Yes perfect! |
shipped with v0.5.6 |
No description provided.