From 25a9cdea1861e67c0156004ffaea9565ce4c3cce Mon Sep 17 00:00:00 2001 From: Alexey Verkhovsky Date: Thu, 14 Apr 2005 00:14:16 +0000 Subject: [PATCH] pubDate in RSS feeds is displayed in GT timezone (to work around a problem with showing a timezone in non-English OSes, ticket:92 --- app/views/wiki/rss_feed.rhtml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/wiki/rss_feed.rhtml b/app/views/wiki/rss_feed.rhtml index dcefd4a0..12ac7073 100644 --- a/app/views/wiki/rss_feed.rhtml +++ b/app/views/wiki/rss_feed.rhtml @@ -12,7 +12,7 @@ <% unless @hide_description %> <%= h page.display_content %> <% end %> - <%= page.created_at.strftime "%a, %e %b %Y %H:%M:%S %Z" %> + <%= page.created_at.getgm.strftime "%a, %e %b %Y %H:%M:%S Z" %> <%= url_for :only_path => false, :web => @web_name, :action => @link_action, :id => page.name %> <%= url_for :only_path => false, :web => @web_name, :action => @link_action, :id => page.name %> <%= WikiWords.separate(page.author) %>