diff options
author | Paul Tirk <paultirk@paultirk.com> | 2021-03-24 19:23:22 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-04-08 10:23:11 +0200 |
commit | 822423af38ed5f650cfa2c86dfee88fe10ba7b52 (patch) | |
tree | 7c4ca91b4966fedc4fc04b3948cb279579fa790c /lib/Db | |
parent | 8b5715c6277279ccb9731000e930252d9d6fc085 (diff) |
use last modified timestamp data instead of removed 'updatedAt' field
Signed-off-by: Paul Tirk <paultirk@paultirk.com>
Diffstat (limited to 'lib/Db')
-rw-r--r-- | lib/Db/Item.php | 2 |
1 files changed, 1 insertions, 1 deletions
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() |