Use the same time format as before
This commit is contained in:
parent
0c04a890db
commit
67d52fe48f
2 changed files with 2 additions and 1 deletions
|
@ -169,7 +169,7 @@ module ApplicationHelper
|
|||
|
||||
element = content_tag :time, l(time, format: "%b %d, %Y"),
|
||||
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,
|
||||
data: {
|
||||
toggle: 'tooltip',
|
||||
|
|
|
@ -248,4 +248,5 @@ en:
|
|||
default: "%a, %d %b %Y %H:%M:%S %z"
|
||||
long: "%B %d, %Y %H:%M"
|
||||
short: "%d %b %H:%M"
|
||||
timeago_tooltip: "%b %-d, %Y %-k:%M%P"
|
||||
pm: pm
|
||||
|
|
Loading…
Reference in a new issue