From dfb58234a1b2b354d82f936086737f9f3073b68e Mon Sep 17 00:00:00 2001 From: Jorge Vasquez Date: Thu, 14 May 2015 15:30:55 -0400 Subject: [PATCH] Fix bug with default timezone en RSS gitlab events --- app/helpers/events_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/helpers/events_helper.rb b/app/helpers/events_helper.rb index 18c75a8726b..7cce059c3ef 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:%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.author do |author| xml.name event.author_name