diff --git a/routes/web.php b/routes/web.php index c5719d9c2d..ad8b622bdf 100644 --- a/routes/web.php +++ b/routes/web.php @@ -21,7 +21,7 @@ declare(strict_types=1); -const DATEFORMAT = DATEFORMAT; +const DATEFORMAT = '(19|20)[0-9]{2}-[0-9]{2}-[0-9]{2}'; Route::group( ['namespace' => 'FireflyIII\Http\Controllers\System',