Skip to content

Commit 76f7d65

Browse files
authored
Merge pull request #627 from palotasb-booking/patch-1
docs: Fix is_birthday example
2 parents a1407d1 + f747f50 commit 76f7d65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docs/comparison.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ the `now()` is created in the same timezone as the instance.
6464

6565
>>> born = pendulum.datetime(1987, 4, 23)
6666
>>> not_birthday = pendulum.datetime(2014, 9, 26)
67-
>>> birthday = pendulum.datetime(2014, 2, 23)
67+
>>> birthday = pendulum.datetime(2014, 4, 23)
6868
>>> past_birthday = pendulum.now().subtract(years=50)
6969

7070
>>> born.is_birthday(not_birthday)

0 commit comments

Comments
 (0)