diff --git a/formats/HtmlFormat.php b/formats/HtmlFormat.php index 86d0657d..d995aae6 100644 --- a/formats/HtmlFormat.php +++ b/formats/HtmlFormat.php @@ -45,13 +45,14 @@ class HtmlFormat extends FormatAbstract { $entryTitle = $this->sanitizeHtml(strip_tags($item->getTitle())); $entryUri = $item->getURI() ?: $uri; - $entryTimestamp = ''; + $entryDate = ''; if($item->getTimestamp()) { - $entryTimestamp = ''; + + $entryDate = sprintf( + '', + date('Y-m-d H:i:s', $item->getTimestamp()), + date('Y-m-d H:i:s', $item->getTimestamp()) + ); } $entryContent = ''; @@ -96,7 +97,7 @@ class HtmlFormat extends FormatAbstract {

{$entryTitle}

- {$entryTimestamp} + {$entryDate} {$entryAuthor} {$entryContent} {$entryEnclosures}