diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-01-08 00:45:56 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-01-08 04:01:08 +0300 |
commit | 63444936559cffba174a69c01d2425fb6b5e61cf (patch) | |
tree | ee63c211481830047c8bb4e5c5cb383af59e6f84 /app/views/projects/show.atom.builder | |
parent | fa36749bcee7fa2eb72c9f2a6a28aab1b7274097 (diff) |
Use `to_s(:iso8601)` where appropriate
Diffstat (limited to 'app/views/projects/show.atom.builder')
-rw-r--r-- | app/views/projects/show.atom.builder | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/show.atom.builder b/app/views/projects/show.atom.builder index 15c49767556..cff1ab1a6c9 100644 --- a/app/views/projects/show.atom.builder +++ b/app/views/projects/show.atom.builder @@ -4,7 +4,7 @@ xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://sear xml.link href: namespace_project_url(@project.namespace, @project, format: :atom, private_token: current_user.try(:private_token)), rel: "self", type: "application/atom+xml" xml.link href: namespace_project_url(@project.namespace, @project), rel: "alternate", type: "text/html" xml.id namespace_project_url(@project.namespace, @project) - xml.updated @events.latest_update_time.strftime("%Y-%m-%dT%H:%M:%SZ") if @events.any? + xml.updated @events.latest_update_time.to_s(:iso8601) if @events.any? @events.each do |event| event_to_atom(xml, event) |