diff options
author | Rowan Wookey <admin@rwky.net> | 2015-06-22 22:16:15 +0300 |
---|---|---|
committer | Rowan Wookey <admin@rwky.net> | 2015-06-23 13:32:26 +0300 |
commit | cacc955accb7087501b154457dff20bece7a5d44 (patch) | |
tree | 626d35c1e6c21995955432306b8d8dd6c43d4d82 /app/helpers/events_helper.rb | |
parent | cc9b5c49d1de2a9e1e90895700376793b9d614f6 (diff) |
Fixed invalid timestamps in RSS feed #1771
Diffstat (limited to 'app/helpers/events_helper.rb')
-rw-r--r-- | app/helpers/events_helper.rb | 2 |
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 |