Use the same time format as before

This commit is contained in:
Bob Van Landuyt 2017-06-12 10:35:36 +02:00
parent 0c04a890db
commit 67d52fe48f
2 changed files with 2 additions and 1 deletions

View File

@ -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',

View File

@ -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