Fix: DateUtil.getDate bug
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user