mirror of
https://github.com/standardebooks/web.git
synced 2025-07-18 12:26:39 -04:00
Rename Created
and Updated
in PHP code to EbookCreated
and EbookUpdated
to match the schema
This commit is contained in:
parent
ac7db8d375
commit
f605a4df60
6 changed files with 19 additions and 19 deletions
|
@ -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{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue