mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-05 07:52:34 +00:00
upgrade to Laravel 11 and schema squash (#245)
* upgrade to Laravel 11 and schema squash * code style and npm audit fix * fix #209
This commit is contained in:
@ -102,7 +102,7 @@ private function getInterval(array $input): Expression
|
||||
)->diffInHours();
|
||||
}
|
||||
|
||||
if ($periodInHours <= 1) {
|
||||
if (abs($periodInHours) <= 1) {
|
||||
return DB::raw("strftime('%Y-%m-%d %H:%M:00', created_at) as date_interval");
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user