From 822423af38ed5f650cfa2c86dfee88fe10ba7b52 Mon Sep 17 00:00:00 2001 From: Paul Tirk Date: Wed, 24 Mar 2021 19:23:22 +0100 Subject: use last modified timestamp data instead of removed 'updatedAt' field Signed-off-by: Paul Tirk --- lib/Db/Item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Db/Item.php') diff --git a/lib/Db/Item.php b/lib/Db/Item.php index 4b679dfa0..221fb8627 100644 --- a/lib/Db/Item.php +++ b/lib/Db/Item.php @@ -592,7 +592,7 @@ class Item extends Entity implements IAPI, \JsonSerializable 'title' => $this->getTitle(), 'author' => $this->getAuthor(), 'publishedAt' => date('c', $this->getPubDate()), - 'updatedAt' => date('c', $this->getUpdatedDate()), + 'lastModifiedAt' => date('c', $this->cropApiLastModified()), 'enclosure' => [ 'mimeType' => $this->getEnclosureMime(), 'url' => $this->getEnclosureLink() -- cgit v1.2.3