Created
May 13, 2009 18:03
-
-
Save dawehner/111166 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
Index: modules/node/views_plugin_row_node_rss.inc | |
=================================================================== | |
RCS file: /cvs/drupal-contrib/contributions/modules/views/modules/node/views_plugin_row_node_rss.inc,v | |
retrieving revision 1.6 | |
diff -u -p -r1.6 views_plugin_row_node_rss.inc | |
--- modules/node/views_plugin_row_node_rss.inc 7 Apr 2009 22:02:40 -0000 1.6 | |
+++ modules/node/views_plugin_row_node_rss.inc 13 May 2009 18:03:16 -0000 | |
@@ -98,7 +98,7 @@ class views_plugin_row_node_rss extends | |
$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('r', $node->created - variable_get('date_default_timezone', 0))), | |
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