From bc21cc77a78508494cdca732757162ef3f852c14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=8B=E1=85=A2=E1=84=91=E1=85=B3=E1=86=AF=20=E1=84=82?= =?UTF-8?q?=E1=85=A9=E1=84=90=E1=85=B3=E1=84=87=E1=85=AE=E1=86=A8?= Date: Fri, 14 Sep 2018 23:10:41 +0900 Subject: [PATCH] Fix: history board monthday --- src/game/lib/string_util.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/game/lib/string_util.js b/src/game/lib/string_util.js index 4a66e10..8128a26 100644 --- a/src/game/lib/string_util.js +++ b/src/game/lib/string_util.js @@ -2,7 +2,11 @@ function StringUtil() { } StringUtil.printMonthDay = function(date) { + console.log(date); let dateTime = new Date(date); + console.log(dateTime); + console.log("month : " + dateTime.getMonth()); + console.log("date : " + dateTime.getDate()); return (dateTime.getMonth() + 1) + "월 " + dateTime.getDate() + "일"; }