You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This will not always be in UTC, which the timestamp for dateUpdated is recorded in. Instead it'll be in the configured time (sometimes local time, sometimes UTC). It's be a good idea to use the Db::prepareDateForDb() function:
Changing
$edge->format('Y-m-d H:i:s')
to
Db::prepareDateForDb($edge)
should ensure we're comparing dates in UTC properly.
The text was updated successfully, but these errors were encountered:
Looking at the purge incomplete carts code:
commerce/src/services/Carts.php
Line 289 in 0500fe0
This will not always be in UTC, which the timestamp for
dateUpdated
is recorded in. Instead it'll be in the configured time (sometimes local time, sometimes UTC). It's be a good idea to use theDb::prepareDateForDb()
function:Changing
to
should ensure we're comparing dates in UTC properly.
The text was updated successfully, but these errors were encountered: