Skip to content

Commit 5f991f6

Browse files
authored
docs: align the naturaldelta example with minute rounding (#410)
1 parent a2006ea commit 5f991f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ python3 -m pip install -e .
9696
>>> humanize.naturalday(dt.datetime.now())
9797
'today'
9898
>>> humanize.naturaldelta(dt.timedelta(seconds=1001))
99-
'16 minutes'
99+
'17 minutes'
100100
>>> humanize.naturalday(dt.datetime.now() - dt.timedelta(days=1))
101101
'yesterday'
102102
>>> humanize.naturalday(dt.date(2007, 6, 5))

0 commit comments

Comments
 (0)