Skip to content

Commit 6c2da2b

Browse files
engstromsdispater
authored andcommitted
Fix typo in example (#201)
Make the output of a diff_for_humans() example match the statement. Fixes #200.
1 parent 13937e6 commit 6c2da2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/difference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ You may also pass `True` as a 2nd parameter to remove the modifiers `ago`, `from
7979
# The instance is the date the comment was created
8080
# and its being compared to default now()
8181
>>> pendulum.now().subtract(days=1).diff_for_humans()
82-
'5 days ago'
82+
'1 day ago'
8383

8484
>>> pendulum.now().diff_for_humans(pendulum.now().subtract(years=1))
8585
'1 year after'

0 commit comments

Comments
 (0)