arrow-py / arrow

🏹 Better dates & times for Python
https://arrow.readthedocs.io
Apache License 2.0
8.71k stars 673 forks source link

Fix french locale #865

Closed impact27 closed 4 years ago

impact27 commented 4 years ago

Fixes:

(arrow.get() - timedelta(seconds=33)).humanize(locale="fr")
'il y a 33 quelques secondes'

Either say "a few seconds ago": "il y a quelques secondes" or "33 seconds ago": "il y a 33 secondes", not "a few 33 seconds ago"

Pull Request Checklist

Thank you for taking the time to improve Arrow! Before submitting your pull request, please check all appropriate boxes:

If you have any questions about your code changes or any of the points above, please submit your questions along with the pull request and we will try our best to help!

Description of Changes

codecov[bot] commented 4 years ago

Codecov Report

Merging #865 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #865   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            9         9           
  Lines         1808      1808           
  Branches       312       312           
=========================================
  Hits          1808      1808           
Impacted Files Coverage Δ
arrow/locales.py 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0fbf49b...302b9be. Read the comment docs.