mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-01-17 22:28:22 +01:00
[ARDMediathekBridge] remove timezone modification (#2507)
This commit is contained in:
parent
e8db2479b5
commit
cd5c59b84c
@ -51,6 +51,8 @@ class ARDMediathekBridge extends BridgeAbstract {
|
|||||||
);
|
);
|
||||||
|
|
||||||
public function collectData() {
|
public function collectData() {
|
||||||
|
$oldTz = date_default_timezone_get();
|
||||||
|
|
||||||
date_default_timezone_set('Europe/Berlin');
|
date_default_timezone_set('Europe/Berlin');
|
||||||
|
|
||||||
$pathComponents = explode('/', $this->getInput('path'));
|
$pathComponents = explode('/', $this->getInput('path'));
|
||||||
@ -87,5 +89,7 @@ class ARDMediathekBridge extends BridgeAbstract {
|
|||||||
$item['author'] = $video->publicationService->name;
|
$item['author'] = $video->publicationService->name;
|
||||||
$this->items[] = $item;
|
$this->items[] = $item;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
date_default_timezone_set($oldTz);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user