-
-
Notifications
You must be signed in to change notification settings - Fork 71
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
What did you do?
Ran the following code:
import datetime as dt
import humanize
seconds = 3633
delta = dt.timedelta(seconds=seconds)
words = humanize.precisedelta(delta, minimum_unit='minutes', format="%0.0f")
print(words)
What did you expect to happen?
Output to be:
1 hour and 1 minute
What actually happened?
Output was:
1 hour and 1 minutes
What versions are you using?
- OS: Windows 11
- Python: 3.10.4
- Humanize: 4.1.0
kgadek
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed