Index: arms/js/detail_qna.js =================================================================== diff -u -r151846f2c5a394347f6999658cf42075990a34b1 -r8fb7d84673ff13d426663f13ce1d14762ee1d559 --- arms/js/detail_qna.js (.../detail_qna.js) (revision 151846f2c5a394347f6999658cf42075990a34b1) +++ arms/js/detail_qna.js (.../detail_qna.js) (revision 8fb7d84673ff13d426663f13ce1d14762ee1d559) @@ -181,7 +181,7 @@ }); } -function makeMessageList(wrap, comment) { +function makeMessageList(wrap, comment, time) { const message = document.createElement("div"); const isSender = comment.c_req_comment_sender === userName; @@ -212,7 +212,7 @@ - ${dateFormat(comment.c_req_comment_date).split(" - ")[1]} + ${time} `; @@ -224,8 +224,10 @@ let date = null; comments.forEach((comment) => { - if (!date && date !== comment.c_req_comment_date) { - date = comment.c_req_comment_date; + const fullDate = dateFormat(comment.c_req_comment_date).split(" - "); + + if (!date || date !== fullDate[0]) { + date = fullDate[0]; const dateEl = document.createElement("div"); dateEl.className = "date-separator"; dateEl.innerHTML = `