dx v2: fix no day match

This commit is contained in:
2026-01-10 18:28:58 +03:00
parent 8fe904eebe
commit e6c97a6499
+1 -1
View File
@@ -32,7 +32,7 @@ function findClosestDateSort($array, $targetDate)
} }
} }
return $result; return $result ?: ['content' => '[]'];
} }
function getDayOfWeek(string $date) function getDayOfWeek(string $date)
{ {