Skip to content

Commit

Permalink
Merge pull request #448 from andrewlavens/patch-1
Browse files Browse the repository at this point in the history
Pluralize years and months in function
  • Loading branch information
dereuromark authored Nov 3, 2023
2 parents 7dbd05d + c1762c5 commit 4ae8324
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/en/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ a granular way::
You can also modify parts of the datetime relatively::

$future = Chronos::create()
->addYear(1)
->subMonth(2)
->addYears(1)
->subMonths(2)
->addDays(15)
->addHours(20)
->subMinutes(2);
Expand Down

0 comments on commit 4ae8324

Please sign in to comment.