diff options
author | Robert Speicher <rspeicher@gmail.com> | 2016-01-07 16:45:56 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2016-01-07 20:01:08 -0500 |
commit | 63444936559cffba174a69c01d2425fb6b5e61cf (patch) | |
tree | ee63c211481830047c8bb4e5c5cb383af59e6f84 /app/helpers | |
parent | fa36749bcee7fa2eb72c9f2a6a28aab1b7274097 (diff) | |
download | gitlab-ce-63444936559cffba174a69c01d2425fb6b5e61cf.tar.gz |
Use `to_s(:iso8601)` where appropriate
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/issues_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/issues_helper.rb b/app/helpers/issues_helper.rb index c12456a187f..acc0e867e8e 100644 --- a/app/helpers/issues_helper.rb +++ b/app/helpers/issues_helper.rb @@ -80,7 +80,7 @@ module IssuesHelper xml.link href: namespace_project_issue_url(issue.project.namespace, issue.project, issue) xml.title truncate(issue.title, length: 80) - xml.updated issue.created_at.strftime("%Y-%m-%dT%H:%M:%SZ") + xml.updated issue.created_at.to_s(:iso8601) xml.media :thumbnail, width: "40", height: "40", url: image_url(avatar_icon(issue.author_email)) xml.author do |author| xml.name issue.author_name |