From 408c2e5e918dd94716281dfce4bb5b6882cc829e Mon Sep 17 00:00:00 2001 From: Ololbu Date: Sun, 15 Oct 2023 18:24:07 +0500 Subject: [PATCH] [FicbookBridge] Fix timestamp (#3760) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Delete a year word after date digits: `DD m YYYY г., HH:MM` to `DD m YYYY, HH:MM` --- bridges/FicbookBridge.php | 1 + 1 file changed, 1 insertion(+) diff --git a/bridges/FicbookBridge.php b/bridges/FicbookBridge.php index 98288514..d11015ad 100644 --- a/bridges/FicbookBridge.php +++ b/bridges/FicbookBridge.php @@ -184,6 +184,7 @@ class FicbookBridge extends BridgeAbstract ]; $fixed_date = str_replace($ru_month, $en_month, $date); + $fixed_date = str_replace(' г.', '', $fixed_date); if ($fixed_date === $date) { Debug::log('Unable to fix date: ' . $date);