Change 'modified' property to 'updated' for consistency

This commit is contained in:
Alex Cabal 2022-06-29 18:55:51 -05:00
parent 32206f3cd7
commit c2cf6ef455
6 changed files with 7 additions and 7 deletions

View file

@ -47,7 +47,7 @@ class AtomFeed extends Feed{
foreach($this->Entries as $entry){
$obj = new StdClass();
if(is_a($entry, 'Ebook')){
$obj->Updated = $entry->Modified->format('Y-m-d\TH:i:s\Z');
$obj->Updated = $entry->Updated->format('Y-m-d\TH:i:s\Z');
$obj->Id = SITE_URL . $entry->Url;
}
else{