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() + "일"; }