Skip to content

Commit

Permalink
Correcting outdated comparaison methods
Browse files Browse the repository at this point in the history
There were examples with eq, ne, gte, from older version
  • Loading branch information
MolbioUnige authored Aug 29, 2024
1 parent 3993536 commit efa3e19
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/en/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -170,9 +170,9 @@ Once you have 2 instances of Chronos date/time objects you can compare them in
a variety of ways::

// Full suite of comparators exist
// ne, gt, lt, lte.
$first->eq($second);
$first->gte($second);
// equals,notEquals, greaterThan, greaterThanOrEquals, lessThan, lessThanOrEquals
$first->equals($second);
$first->greaterThanOrEquals($second);

// See if the current object is between two others.
$now->between($start, $end);
Expand Down

0 comments on commit efa3e19

Please sign in to comment.