We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2129e53 commit 0a7dd9cCopy full SHA for 0a7dd9c
docs/_docs/difference.rst
@@ -83,7 +83,7 @@ You may also pass ``True`` as a 2nd parameter to remove the modifiers `ago`, `fr
83
# The most typical usage is for comments
84
# The instance is the date the comment was created
85
# and its being compared to default now()
86
- pendulum.now().subtract(dayss=1).diff_for_humans()
+ pendulum.now().subtract(days=1).diff_for_humans()
87
'5 days ago'
88
89
pendulum.now().diff_for_humans(Pendulum.now().subtract(years=1))
0 commit comments