mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-05 00:59:35 +00: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:
parent
f7f3ca0126
commit
408c2e5e91
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user