From 09cb4b10b9d8974a5a14dfa7ba0b42bc21aae3b1 Mon Sep 17 00:00:00 2001 From: James Cole Date: Tue, 17 Jan 2023 05:57:06 +0100 Subject: [PATCH] Fix dateformat. --- routes/web.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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',