Skip to content

Commit

Permalink
Merge pull request #463 from MolbioUnige/patch-1
Browse files Browse the repository at this point in the history
Correcting outdated comparaison methods in fr, ja and pt
  • Loading branch information
othercorey authored Aug 29, 2024
2 parents 84076a3 + 75d9dd4 commit a4e7ea3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion docs/en/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ Once you have 2 instances of Chronos date/time objects you can compare them in
a variety of ways::

// Full suite of comparators exist
// equals,notEquals, greaterThan, greaterThanOrEquals, lessThan, lessThanOrEquals
// equals, notEquals, greaterThan, greaterThanOrEquals, lessThan, lessThanOrEquals
$first->equals($second);
$first->greaterThanOrEquals($second);

Expand Down
8 changes: 4 additions & 4 deletions docs/fr/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,10 @@ Méthodes de Comparaison
Une fois que vous avez 2 instances d'objets date/time de Chronos, vous pouvez
les comparer de plusieurs façons::

// Il exste une suite complète de comparateurs
// ne, gt, lt, lte.
$first->eq($second);
$first->gte($second);
// Il existe une suite complète de comparateurs
// equals, notEquals, greaterThan, greaterThanOrEquals, lessThan, lessThanOrEquals
$first->equals($second);
$first->greaterThanOrEquals($second);

// Regarder si l'objet courant est entre deux autres.
$now->between($start, $end);
Expand Down
6 changes: 3 additions & 3 deletions docs/ja/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ Chronos オブジェクトは細やかに値を変更できるメソッドを提
Chronos の日付/時間オブジェクトの2つのインスタンスを様々な方法で比較することができます。 ::

// 比較のフルセットが存在します
// ne, gt, lt, lte.
$first->eq($second);
$first->gte($second);
// equals, notEquals, greaterThan, greaterThanOrEquals, lessThan, lessThanOrEquals
$first->equals($second);
$first->greaterThanOrEquals($second);

// カレントオブジェクトが2つのオブジェクトの間にあるかどうかを確認します。
$now->between($start, $end);
Expand Down
6 changes: 3 additions & 3 deletions docs/pt/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,9 @@ Uma vez que você possui 2 instâncias de objetos data/hora do Chronos, é poss
compará-los de várias maneiras::

// Coleção completa de comparadores
// ne, gt, lt, lte.
$first->eq($second);
$first->gte($second);
// equals, notEquals, greaterThan, greaterThanOrEquals, lessThan, lessThanOrEquals
$first->equals($second);
$first->greaterThanOrEquals($second);

// Veja se o objeto atual está entre outros
$now->between($start, $end);
Expand Down

0 comments on commit a4e7ea3

Please sign in to comment.