Use the same time format as before
This commit is contained in:
parent
0c04a890db
commit
67d52fe48f
|
@ -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:
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue