-
-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
What did you do?
import humanize
humanize.naturaldelta(10799)Note that this is exactly one second below 3 hours.
What did you expect to happen?
It should say 3 hours.
What actually happened?
It says 2 hours.
What versions are you using?
- OS: Debian 12
- Python: 3.11.2
- Humanize: 4.9.0
Please include code that reproduces the issue.
The best reproductions
are
self-contained scripts
with minimal dependencies.
import humanize
print(humanize.naturaldelta(10800)) # "3 hours"
print(humanize.naturaldelta(10799)) # "2 hours"shrx
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed