[FicbookBridge] Fix timestamp (#3760)

Delete a year word after date digits: `DD m YYYY г., HH:MM` to `DD m YYYY, HH:MM`
This commit is contained in:
Ololbu 2023-10-15 18:24:07 +05:00 committed by GitHub
parent f7f3ca0126
commit 408c2e5e91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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);