summaryrefslogtreecommitdiff
path: root/app/helpers/events_helper.rb
diff options
context:
space:
mode:
authorRowan Wookey <admin@rwky.net>2015-06-22 20:16:15 +0100
committerRowan Wookey <admin@rwky.net>2015-06-23 11:32:26 +0100
commitcacc955accb7087501b154457dff20bece7a5d44 (patch)
tree626d35c1e6c21995955432306b8d8dd6c43d4d82 /app/helpers/events_helper.rb
parentcc9b5c49d1de2a9e1e90895700376793b9d614f6 (diff)
downloadgitlab-ce-cacc955accb7087501b154457dff20bece7a5d44.tar.gz
Fixed invalid timestamps in RSS feed #1771
Diffstat (limited to 'app/helpers/events_helper.rb')
-rw-r--r--app/helpers/events_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/events_helper.rb b/app/helpers/events_helper.rb
index d440da050e1..8428281f8f6 100644
--- a/app/helpers/events_helper.rb
+++ b/app/helpers/events_helper.rb
@@ -189,7 +189,7 @@ module EventsHelper
xml.id "tag:#{request.host},#{event.created_at.strftime("%Y-%m-%d")}:#{event.id}"
xml.link href: event_link
xml.title truncate(event_title, length: 80)
- xml.updated event.created_at.strftime("%Y-%m-%dT%H:%M:%S%Z")
+ xml.updated event.created_at.xmlschema
xml.media :thumbnail, width: "40", height: "40", url: avatar_icon(event.author_email)
xml.author do |author|
xml.name event.author_name