Skip to content
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

Fix the loading of the currency format types #203

Merged
merged 3 commits into from
Sep 27, 2015
Merged

Fix the loading of the currency format types #203

merged 3 commits into from
Sep 27, 2015

Commits on Sep 27, 2015

  1. numbers: Properly load and expose currency format types

    The type of the currency format (e.g. "standard", "accounting") was not
    interpreted correctly from the CLDR data.  Now there should not be any currency
    format identified by "None".
    
    Fixes #201
    etanol committed Sep 27, 2015
    Configuration menu
    Copy the full SHA
    df676ab View commit details
    Browse the repository at this point in the history
  2. Retain the behaviour of format in numbers.format_currency

    Previous commit introduced an API change by changing the behaviour of
    the format param, instead this commit adds a format_type param and the
    documentation and tests to accompany it.
    
    Note that currency_formats returns a NumberPattern already, so there is
    no need to call parse_pattern on the value returned.
    craigloftus authored and etanol committed Sep 27, 2015
    Configuration menu
    Copy the full SHA
    15ad946 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f119583 View commit details
    Browse the repository at this point in the history