feed: set item date. fixes #2960
The date was completely missing in the recent refactor. This readds it and uses a unix timestamp as suggested in #2960
This commit is contained in:
parent
a94c17eeed
commit
4554d54da6
|
@ -82,6 +82,7 @@ class FeedCreator
|
|||
if ($this->options->get('show_summary') && $proc->getSummary()) {
|
||||
$item->title .= ' - ' . $proc->getSummary();
|
||||
}
|
||||
$item->date = $proc->getRev();
|
||||
[$item->authorEmail, $item->author] = $proc->getAuthor();
|
||||
$item->link = $proc->getURL($this->options->get('link_to'));
|
||||
$item->description = $proc->getBody($this->options->get('item_content'));
|
||||
|
|
Loading…
Reference in New Issue