mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-09 16:38:50 +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($ru_month, $en_month, $date);
|
||||||
|
$fixed_date = str_replace(' г.', '', $fixed_date);
|
||||||
|
|
||||||
if ($fixed_date === $date) {
|
if ($fixed_date === $date) {
|
||||||
Debug::log('Unable to fix date: ' . $date);
|
Debug::log('Unable to fix date: ' . $date);
|
||||||
|
Loading…
Reference in New Issue
Block a user