Skip to content

Commit

Permalink
Merge pull request #462 from MolbioUnige/patch-1
Browse files Browse the repository at this point in the history
Correcting outdated comparaison methods
  • Loading branch information
dereuromark authored Aug 29, 2024
2 parents 3993536 + efa3e19 commit 84076a3
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 84076a3

Please sign in to comment.