diff --git a/routes/web.php b/routes/web.php index ae8b5b50b4..c7382f272c 100644 --- a/routes/web.php +++ b/routes/web.php @@ -22,7 +22,7 @@ declare(strict_types=1); if (!defined('DATEFORMAT')) { - define('DATEFORMAT', '(19|20)[0-9]{2}-[0-9]{2}-[0-9]{2}'); + define('DATEFORMAT', '(19|20)[0-9]{2}-?[0-9]{2}-?[0-9]{2}'); } Route::group(