Rename Created and Updated in PHP code to EbookCreated and EbookUpdated to match the schema

This commit is contained in:
Mike Colagrosso 2024-05-20 22:23:38 -06:00 committed by Alex Cabal
parent ac7db8d375
commit f605a4df60
6 changed files with 19 additions and 19 deletions

View file

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