diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 6da4321..9c0a5b1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -30,8 +30,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php: [ '7.1', '7.2', '7.3', '7.4' ] - mysql: [ '5.7', '8.0' ] + php: [ '7.4' ] + mysql: ['8.0' ] env: NC3_BUILD_DIR: "/opt/nc3" diff --git a/Model/RssReaderItem.php b/Model/RssReaderItem.php index ffcef8e..6ff0cff 100644 --- a/Model/RssReaderItem.php +++ b/Model/RssReaderItem.php @@ -208,6 +208,8 @@ public function serializeXmlToArray($url) { foreach ($items as $item) { $date = new DateTime(Hash::get($item, $dateKey, 'now')); + $date->setTimezone(new DateTimeZone('UTC')); + $summary = Hash::get($item, $summaryKey, ''); if (is_array($summary) && isset($summary['@'])) { $summary = $summary['@'];