[ARDMediathekBridge] remove timezone modification (#2507)

This commit is contained in:
dag 2022-03-22 20:42:54 +01:00 committed by GitHub
parent e8db2479b5
commit cd5c59b84c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,8 @@ class ARDMediathekBridge extends BridgeAbstract {
);
public function collectData() {
$oldTz = date_default_timezone_get();
date_default_timezone_set('Europe/Berlin');
$pathComponents = explode('/', $this->getInput('path'));
@ -87,5 +89,7 @@ class ARDMediathekBridge extends BridgeAbstract {
$item['author'] = $video->publicationService->name;
$this->items[] = $item;
}
date_default_timezone_set($oldTz);
}
}