Fix: DateUtil.getDate bug

This commit is contained in:
2018-05-30 09:13:45 +09:00
parent f1cab7de3f
commit cec653abb7
8 changed files with 23 additions and 34 deletions
+2 -1
View File
@@ -1,7 +1,8 @@
class DateUtil {
static getYYYYMMDD(date) {
return date.toISOString().slice(0,10);
// return date.toISOString().slice(0,10);
return date.getFullYear() + "-" + (date.getMonth() + 1) + "-" + date.getDate();
}
static getHHMMSS(date) {