Hello,
It seems that timestamps are saved with the Argon model in OC. Now I took Carbon for my time calculations in my class.
I do this:
if ($now->greaterThan($nowClientDaysPlus)) {
continue;
}
Where $now is an Carbon instance and $nowClientDaysPlus is an Argon instance and althougth $now is e.g. date: 2023-04-20 14:48:55.422337 UTC (+00:00) and $nowClientDaysPlus is e.g. date: 2023-05-04 06:43:32.0 e (+00:00) the comparison is true.
Do I something wrong or are Argon and Carbon instances unable to compare with greaterThan?