1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-07 07:56:23 +00:00

fix month

This commit is contained in:
Loic Blot 2014-09-18 05:53:01 +00:00
parent b9cf983b1a
commit cbfebee3f4

View File

@ -61,7 +61,7 @@ function fetchConversation(phoneNumber) {
if (formatedMin < 10) {
formatedMin = '0' + formatedMin;
}
formatedDate = msgDate.getDate() + " " + months[msgDate.getMonth()-1] + " " +
formatedDate = msgDate.getDate() + " " + months[msgDate.getMonth()] + " " +
formatedHour + ":" + formatedMin;
conversationBuf += '<div><div class="' + msgClass + '"><div>' +