diff options
Diffstat (limited to 'addons/mail/static/src/js/thread.js')
| -rw-r--r-- | addons/mail/static/src/js/thread.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/mail/static/src/js/thread.js b/addons/mail/static/src/js/thread.js index 609de2591aa..86b34255cf7 100644 --- a/addons/mail/static/src/js/thread.js +++ b/addons/mail/static/src/js/thread.js @@ -119,10 +119,10 @@ var Thread = Widget.extend({ msg.hour = msg.date.fromNow(); } else if (date === moment().subtract(1, 'days').format('YYYY-MM-DD')) { msg.day = _t("Yesterday"); - msg.hour = msg.date.format('hh:mm'); + msg.hour = msg.date.format('LT'); } else { msg.day = msg.date.format('LL'); - msg.hour = msg.date.format('hh:mm'); + msg.hour = msg.date.format('LT'); } msg.display_subject = message.subject && message.message_type !== 'notification' && !(message.model && (message.model !== 'mail.channel')); |
