diff --git a/webapp/titanembeds/static/css/embedstyle.css b/webapp/titanembeds/static/css/embedstyle.css index dc422cc..85d2382 100644 --- a/webapp/titanembeds/static/css/embedstyle.css +++ b/webapp/titanembeds/static/css/embedstyle.css @@ -291,7 +291,6 @@ margin-right:4px } #chatcontent > p { display: table; } #chatcontent > p > span { display: table-row } -#chatcontent > p > span:nth-child(1):before { content:"Today at " } #chatcontent > p > span.chatusername { display: table-header-group } #chatcontent > p > span.chatmessage { display: table-footer-group;display:inline-block!important;color:rgb(195,196,197) } ::-webkit-input-placeholder { color:rgb(99,99,99) } diff --git a/webapp/titanembeds/static/js/embed.js b/webapp/titanembeds/static/js/embed.js index 5cd949e..47cf570 100644 --- a/webapp/titanembeds/static/js/embed.js +++ b/webapp/titanembeds/static/js/embed.js @@ -428,7 +428,8 @@ function parse_message_time(message) { var mome = moment(message.timestamp); message.formatted_timestamp = mome.toDate().toString(); - message.formatted_time = mome.format("h:mm A"); + message.formatted_time = mome.calendar(); + /*message.formatted_time = mome.format("h:mm A");*/ return message; }