Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-01-08 00:45:56 +0300
committerRobert Speicher <rspeicher@gmail.com>2016-01-08 04:01:08 +0300
commit63444936559cffba174a69c01d2425fb6b5e61cf (patch)
treeee63c211481830047c8bb4e5c5cb383af59e6f84 /app/views/groups/issues.atom.builder
parentfa36749bcee7fa2eb72c9f2a6a28aab1b7274097 (diff)
Use `to_s(:iso8601)` where appropriate
Diffstat (limited to 'app/views/groups/issues.atom.builder')
-rw-r--r--app/views/groups/issues.atom.builder2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/groups/issues.atom.builder b/app/views/groups/issues.atom.builder
index 66fe7e25871..fc58a99854e 100644
--- a/app/views/groups/issues.atom.builder
+++ b/app/views/groups/issues.atom.builder
@@ -4,7 +4,7 @@ xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://sear
xml.link href: issues_dashboard_url(format: :atom, private_token: @user.private_token), rel: "self", type: "application/atom+xml"
xml.link href: issues_dashboard_url, rel: "alternate", type: "text/html"
xml.id issues_dashboard_url
- xml.updated @issues.first.created_at.strftime("%Y-%m-%dT%H:%M:%SZ") if @issues.any?
+ xml.updated @issues.first.created_at.to_s(:iso8601) if @issues.any?
@issues.each do |issue|
issue_to_atom(xml, issue)