Commit 735fbb43 authored by Jeroen van Baarsen's avatar Jeroen van Baarsen

Merge pull request #9296 from jorgevbo/master

Fix bug with default timezone en RSS gitlab events
parents a13e6f13 dfb58234
...@@ -189,7 +189,7 @@ module EventsHelper ...@@ -189,7 +189,7 @@ module EventsHelper
xml.id "tag:#{request.host},#{event.created_at.strftime("%Y-%m-%d")}:#{event.id}" xml.id "tag:#{request.host},#{event.created_at.strftime("%Y-%m-%d")}:#{event.id}"
xml.link href: event_link xml.link href: event_link
xml.title truncate(event_title, length: 80) xml.title truncate(event_title, length: 80)
xml.updated event.created_at.strftime("%Y-%m-%dT%H:%M:%SZ") xml.updated event.created_at.strftime("%Y-%m-%dT%H:%M:%S%Z")
xml.media :thumbnail, width: "40", height: "40", url: avatar_icon(event.author_email) xml.media :thumbnail, width: "40", height: "40", url: avatar_icon(event.author_email)
xml.author do |author| xml.author do |author|
xml.name event.author_name xml.name event.author_name
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment