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/users
parentfa36749bcee7fa2eb72c9f2a6a28aab1b7274097 (diff)
Use `to_s(:iso8601)` where appropriate
Diffstat (limited to 'app/views/users')
-rw-r--r--app/views/users/show.atom.builder2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/show.atom.builder b/app/views/users/show.atom.builder
index 2fe5b7fac83..758dfc72abf 100644
--- a/app/views/users/show.atom.builder
+++ b/app/views/users/show.atom.builder
@@ -4,7 +4,7 @@ xml.feed "xmlns" => "http://www.w3.org/2005/Atom", "xmlns:media" => "http://sear
xml.link href: user_url(@user, :atom), rel: "self", type: "application/atom+xml"
xml.link href: user_url(@user), rel: "alternate", type: "text/html"
xml.id user_url(@user)
- 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)