Commit 67d52fe4 authored by Bob Van Landuyt's avatar Bob Van Landuyt

Use the same time format as before

parent 0c04a890
...@@ -169,7 +169,7 @@ module ApplicationHelper ...@@ -169,7 +169,7 @@ module ApplicationHelper
element = content_tag :time, l(time, format: "%b %d, %Y"), element = content_tag :time, l(time, format: "%b %d, %Y"),
class: css_classes, class: css_classes,
title: l(time.to_time.in_time_zone, format: :short), title: l(time.to_time.in_time_zone, format: :timeago_tooltip),
datetime: time.to_time.getutc.iso8601, datetime: time.to_time.getutc.iso8601,
data: { data: {
toggle: 'tooltip', toggle: 'tooltip',
......
...@@ -248,4 +248,5 @@ en: ...@@ -248,4 +248,5 @@ en:
default: "%a, %d %b %Y %H:%M:%S %z" default: "%a, %d %b %Y %H:%M:%S %z"
long: "%B %d, %Y %H:%M" long: "%B %d, %Y %H:%M"
short: "%d %b %H:%M" short: "%d %b %H:%M"
timeago_tooltip: "%b %-d, %Y %-k:%M%P"
pm: pm pm: pm
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment