diff options
| author | Robert Speicher <rspeicher@gmail.com> | 2016-01-06 17:27:56 -0500 |
|---|---|---|
| committer | Robert Speicher <rspeicher@gmail.com> | 2016-01-07 20:01:08 -0500 |
| commit | fa36749bcee7fa2eb72c9f2a6a28aab1b7274097 (patch) | |
| tree | ce7eb20119e69fac8cb41f35dd059599b4e71817 /app/helpers | |
| parent | 59305715e9d3569f47d7c2accc2106022c0a6960 (diff) | |
| download | gitlab-ce-fa36749bcee7fa2eb72c9f2a6a28aab1b7274097.tar.gz | |
Add two custom Date/Time conversion formats
Diffstat (limited to 'app/helpers')
| -rw-r--r-- | app/helpers/application_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index ea0cc3be4b1..2b9bad9c9ea 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -206,7 +206,7 @@ module ApplicationHelper element = content_tag :time, time.to_s, class: "#{html_class} js-timeago js-timeago-pending", datetime: time.getutc.iso8601, - title: time.in_time_zone.strftime('%b %-d, %Y %-I:%m%P'), # Aug 1, 2011 9:23pm + title: time.in_time_zone.to_s(:medium), data: { toggle: 'tooltip', placement: placement, container: 'body' } unless skip_js |
