1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-23 16:43:11 +02:00

[CI] Add support for php 8.0 and 8.1 (#2405)

This commit is contained in:
Eugene Molotov
2022-01-05 04:40:30 +05:00
committed by GitHub
parent 59e77a9e51
commit d0ef8aa71d
2 changed files with 2 additions and 2 deletions

View File

@@ -138,7 +138,7 @@ class FlashbackBridge extends BridgeAbstract
$item['post_nr'] = $element->find('div.post-heading a strong', 0)->innertext;
$item['timestamp'] = strtotime(
str_replace(
array('Igår', 'Idag'), array('yesterday', 'today'), \
array('Igår', 'Idag'), array('yesterday', 'today'),
current(explode("\t", str_replace("\t\t", "\t", trim(
$element->find('div.post-heading', 0)->plaintext)
)))