|
|
@@ -147,11 +147,11 @@ class Zend_Feed_Rss extends Zend_Feed_Abstract
|
|
|
$channel->appendChild($description);
|
|
|
|
|
|
$pubdate = isset($array->lastUpdate) ? $array->lastUpdate : time();
|
|
|
- $pubdate = $this->_element->createElement('pubDate', gmdate('r', $pubdate));
|
|
|
+ $pubdate = $this->_element->createElement('pubDate', date(DATE_RSS, $pubdate));
|
|
|
$channel->appendChild($pubdate);
|
|
|
|
|
|
if (isset($array->published)) {
|
|
|
- $lastBuildDate = $this->_element->createElement('lastBuildDate', gmdate('r', $array->published));
|
|
|
+ $lastBuildDate = $this->_element->createElement('lastBuildDate', date(DATE_RSS, $array->published));
|
|
|
$channel->appendChild($lastBuildDate);
|
|
|
}
|
|
|
|
|
|
@@ -425,7 +425,7 @@ class Zend_Feed_Rss extends Zend_Feed_Abstract
|
|
|
}
|
|
|
|
|
|
$pubdate = isset($dataentry->lastUpdate) ? $dataentry->lastUpdate : time();
|
|
|
- $pubdate = $this->_element->createElement('pubDate', gmdate('r', $pubdate));
|
|
|
+ $pubdate = $this->_element->createElement('pubDate', date(DATE_RSS, $pubdate));
|
|
|
$item->appendChild($pubdate);
|
|
|
|
|
|
if (isset($dataentry->category)) {
|