From cb5d8dc407b84977f25ef6ffad630739ff15142c Mon Sep 17 00:00:00 2001 From: Jeremy Zhang Date: Sat, 8 Apr 2017 01:20:10 -0700 Subject: [PATCH] 12 hour clock ftw --- titanembeds/static/js/embed.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/titanembeds/static/js/embed.js b/titanembeds/static/js/embed.js index df75efe..4d139b5 100644 --- a/titanembeds/static/js/embed.js +++ b/titanembeds/static/js/embed.js @@ -253,7 +253,7 @@ function format_bot_message(message) { function parse_message_time(message) { var mome = moment(message.timestamp); message.formatted_timestamp = mome.toDate().toString(); - message.formatted_time = mome.format("HH:mm A"); + message.formatted_time = mome.format("h:mm A"); return message; }