dx v2: fix no day match

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