Created
May 13, 2009 17:42
-
-
Save dawehner/111151 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/modules/node/views_plugin_row_node_rss.inc b/modules/node/views_plugin_row_node_rss.inc | |
index b2fc2f2..a9b290f 100644 | |
--- a/modules/node/views_plugin_row_node_rss.inc | |
+++ b/modules/node/views_plugin_row_node_rss.inc | |
@@ -98,7 +98,7 @@ class views_plugin_row_node_rss extends views_plugin_row { | |
$extra = node_invoke_nodeapi($node, 'rss item'); | |
$item->elements = array_merge($extra, | |
array( | |
- array('key' => 'pubDate', 'value' => format_date($node->created, 'custom', 'r', variable_get('date_default_timezone', 0))), | |
+ array('key' => 'pubDate', 'value' => gmdate('d M Y H:i:s O', $node->created - variable_get('date_default_timezone', 0), array(), NULL)), | |
array( | |
'key' => 'dc:creator', | |
'value' => $node->name, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment