Skip to content

Commit

Permalink
Merge pull request #98 from aborruso/patch-2
Browse files Browse the repository at this point in the history
Added the default Italian thousand and decimal separator
  • Loading branch information
hugovk authored Feb 4, 2023
2 parents 59705e1 + 055d8da commit c211671
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/humanize/i18n.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@
_THOUSANDS_SEPARATOR = {
"de_DE": ".",
"fr_FR": " ",
"it_IT": ".",
"pt_BR": ".",
}

# Mapping of locale to decimal separator
_DECIMAL_SEPARATOR = {
"de_DE": ",",
"it_IT": ",",
"pt_BR": ",",
}

Expand Down

0 comments on commit c211671

Please sign in to comment.