pubDate in RSS feeds is displayed in GT timezone (to work around a problem with showing a timezone in non-English OSes, ticket:92
This commit is contained in:
parent
5c97cc593e
commit
25a9cdea18
|
@ -12,7 +12,7 @@
|
||||||
<% unless @hide_description %>
|
<% unless @hide_description %>
|
||||||
<description><%= h page.display_content %></description>
|
<description><%= h page.display_content %></description>
|
||||||
<% end %>
|
<% end %>
|
||||||
<pubDate><%= page.created_at.strftime "%a, %e %b %Y %H:%M:%S %Z" %></pubDate>
|
<pubDate><%= page.created_at.getgm.strftime "%a, %e %b %Y %H:%M:%S Z" %></pubDate>
|
||||||
<guid><%= url_for :only_path => false, :web => @web_name, :action => @link_action, :id => page.name %></guid>
|
<guid><%= url_for :only_path => false, :web => @web_name, :action => @link_action, :id => page.name %></guid>
|
||||||
<link><%= url_for :only_path => false, :web => @web_name, :action => @link_action, :id => page.name %></link>
|
<link><%= url_for :only_path => false, :web => @web_name, :action => @link_action, :id => page.name %></link>
|
||||||
<dc:creator><%= WikiWords.separate(page.author) %></dc:creator>
|
<dc:creator><%= WikiWords.separate(page.author) %></dc:creator>
|
||||||
|
|
Loading…
Reference in a new issue