Skip to content

Commit 408c2e5

Browse files
authored
[FicbookBridge] Fix timestamp (RSS-Bridge#3760)
Delete a year word after date digits: `DD m YYYY г., HH:MM` to `DD m YYYY, HH:MM`
1 parent f7f3ca0 commit 408c2e5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bridges/FicbookBridge.php

+1
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,7 @@ private function fixDate($date)
184184
];
185185

186186
$fixed_date = str_replace($ru_month, $en_month, $date);
187+
$fixed_date = str_replace(' г.', '', $fixed_date);
187188

188189
if ($fixed_date === $date) {
189190
Debug::log('Unable to fix date: ' . $date);

0 commit comments

Comments
 (0)