1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-03 23:27:32 +02:00

[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

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