From efa3e196fa678897e5f3beb5d4a2b0408dbc50d4 Mon Sep 17 00:00:00 2001 From: MolbioUnige Date: Thu, 29 Aug 2024 11:36:09 +0200 Subject: [PATCH] Correcting outdated comparaison methods There were examples with eq, ne, gte, from older version --- docs/en/index.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/en/index.rst b/docs/en/index.rst index 484800c..c592349 100644 --- a/docs/en/index.rst +++ b/docs/en/index.rst @@ -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);