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/views/notify/repository_push_email.text.haml | |
parent | fa36749bcee7fa2eb72c9f2a6a28aab1b7274097 (diff) | |
download | gitlab-ce-63444936559cffba174a69c01d2425fb6b5e61cf.tar.gz |
Use `to_s(:iso8601)` where appropriate
Diffstat (limited to 'app/views/notify/repository_push_email.text.haml')
-rw-r--r-- | app/views/notify/repository_push_email.text.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/notify/repository_push_email.text.haml b/app/views/notify/repository_push_email.text.haml index aa0e263b6df..53869e36b28 100644 --- a/app/views/notify/repository_push_email.text.haml +++ b/app/views/notify/repository_push_email.text.haml @@ -8,7 +8,7 @@ \ = @message.reverse_compare? ? "Deleted commits:" : "Commits:" - @message.commits.each do |commit| - #{commit.short_id} by #{commit.author_name} at #{commit.committed_date.strftime("%Y-%m-%dT%H:%M:%SZ")} + #{commit.short_id} by #{commit.author_name} at #{commit.committed_date.to_s(:iso8601)} #{commit.safe_message} \- - - - - \ |