From eb0dbdefa652e66b6bd972c9160eefafa1b338be Mon Sep 17 00:00:00 2001 From: Glomberg Date: Mon, 28 Oct 2024 14:46:08 +0300 Subject: [PATCH] Fix. FSWatcher. Changed date format fixed. --- lib/CleantalkSP/SpbctWP/FSWatcher/View/View.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CleantalkSP/SpbctWP/FSWatcher/View/View.php b/lib/CleantalkSP/SpbctWP/FSWatcher/View/View.php index 176a6bbe..338b5e92 100644 --- a/lib/CleantalkSP/SpbctWP/FSWatcher/View/View.php +++ b/lib/CleantalkSP/SpbctWP/FSWatcher/View/View.php @@ -100,7 +100,7 @@ protected static function renderSelectorOptions($dates) $html = ''; foreach ($dates as $date) { - $formated_date = date('M d Y H:i:s', $date); + $formated_date = date('Y-m-d H:i:s', $date); $html .= ''; }