summaryrefslogtreecommitdiff
path: root/providers/Rss.php
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2018-01-24 11:36:08 +0100
committeremkael <emkael@tlen.pl>2018-01-24 11:36:08 +0100
commit76dc5c4be53a6eda2e45fec3d9fe64030877a8cd (patch)
tree9419b86b9ca5dcc388532843c2c14e295a8e463b /providers/Rss.php
parent178b61aae171b6e0052cfde96ac7957df9e89964 (diff)
RSS proxy update
Diffstat (limited to 'providers/Rss.php')
-rw-r--r--providers/Rss.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/providers/Rss.php b/providers/Rss.php
index 9f64088..cc0aaf8 100644
--- a/providers/Rss.php
+++ b/providers/Rss.php
@@ -41,7 +41,7 @@ class Rss extends \Providers\Provider {
$itemObject = new Item();
$itemObject->ID = strval($item->id ?: $item->guid);
$itemObject->Title = strval($item->title);
- $itemObject->Time = strval($item->updated ?: $item->pubDate);
+ $itemObject->Time = strval($item->published ?: $item->pubDate);
$itemObject->Text = strval($item->summary ?: $item->description);
$itemObject->Link = strval(is_string($item->link) ? $item->link : $item->link->attributes()['href']);
$itemObject->Author = strval(is_string($item->author) ? $item->author : $item->author->name);