Skip to content

Commit 0a7dd9c

Browse files
raysonmengsdispater
authored andcommitted
fix wrong keyword argument 'dayss' (#144)
1 parent 2129e53 commit 0a7dd9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/_docs/difference.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ You may also pass ``True`` as a 2nd parameter to remove the modifiers `ago`, `fr
8383
# The most typical usage is for comments
8484
# The instance is the date the comment was created
8585
# and its being compared to default now()
86-
pendulum.now().subtract(dayss=1).diff_for_humans()
86+
pendulum.now().subtract(days=1).diff_for_humans()
8787
'5 days ago'
8888
8989
pendulum.now().diff_for_humans(Pendulum.now().subtract(years=1))

0 commit comments

Comments
 (0)