diff --git a/src/Utils.php b/src/Utils.php index c70e8ce..53f49ae 100644 --- a/src/Utils.php +++ b/src/Utils.php @@ -309,7 +309,7 @@ class Utils 'log_table' => My::id() . '_report', ]); - return $rs->isEmpty() || !is_string($rs->f('log_dt')) || (int) Date::str('%s', $rs->f('log_dt')) + self::EXPIRED_DELAY < time(); + return $rs->isEmpty() || !is_string($rs->f('log_dt')) || (int) strtotime($rs->f('log_dt')) + self::EXPIRED_DELAY < time(); } private static function contents(): string