summaryrefslogtreecommitdiff
path: root/modules/node/node.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-08-11 12:53:39 +0000
committerDries Buytaert <dries@buytaert.net>2005-08-11 12:53:39 +0000
commitceb013278e4846f6e77cbea12660a9644f9783f5 (patch)
treea5197e860a7ff341300a0187d5b1c705f559a1ab /modules/node/node.module
parent9e45d24af3551c16858df1901387d53b3182a4f3 (diff)
downloadbrdo-ceb013278e4846f6e77cbea12660a9644f9783f5.tar.gz
brdo-ceb013278e4846f6e77cbea12660a9644f9783f5.tar.bz2
- Patch #23750 by jerakeen: use the creation date rather than the update date in RSS feeds.
Diffstat (limited to 'modules/node/node.module')
-rw-r--r--modules/node/node.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/node.module b/modules/node/node.module
index cfd770308..cc79aa2e3 100644
--- a/modules/node/node.module
+++ b/modules/node/node.module
@@ -1148,7 +1148,7 @@ function node_feed($nodes = 0, $channel = array()) {
// Allow modules to add additional item fields
$extra = node_invoke_nodeapi($item, 'rss item');
- $extra = array_merge($extra, array(array('key' => 'pubDate', 'value' => date('r', $item->changed))));
+ $extra = array_merge($extra, array(array('key' => 'pubDate', 'value' => date('r', $item->created))));
$items .= format_rss_item($item->title, $link, $item->teaser, $extra);
}