Skip to content

Add pt_BR separators#66

Merged
hugovk merged 4 commits intopython-humanize:mainfrom
mariovalney:patch-1
Oct 21, 2022
Merged

Add pt_BR separators#66
hugovk merged 4 commits intopython-humanize:mainfrom
mariovalney:patch-1

Conversation

@mariovalney
Copy link
Contributor

Fixes #65

Changes proposed:

  • Add the proper thousands and decimal separator for pt_BR locale
  • Add a simple test

@codecov-commenter
Copy link

codecov-commenter commented Oct 21, 2022

Codecov Report

Merging #66 (3de0209) into main (c35fa9c) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main      #66   +/-   ##
=======================================
  Coverage   99.29%   99.29%           
=======================================
  Files           9        9           
  Lines         710      714    +4     
=======================================
+ Hits          705      709    +4     
  Misses          5        5           
Flag Coverage Δ
macos-latest 97.61% <100.00%> (+0.01%) ⬆️
ubuntu-latest 97.61% <100.00%> (+0.01%) ⬆️
windows-latest 96.07% <50.00%> (-0.26%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/humanize/i18n.py 98.33% <ø> (ø)
tests/test_i18n.py 100.00% <100.00%> (ø)
tests/test_time.py 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@hugovk hugovk added the changelog: Added For new features label Oct 21, 2022
@hugovk hugovk merged commit d906c7d into python-humanize:main Oct 21, 2022
@hugovk
Copy link
Member

hugovk commented Oct 21, 2022

Thank you!

@mariovalney mariovalney deleted the patch-1 branch October 21, 2022 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog: Added For new features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Internationalise separators for pt_BR

3 participants