moment().format() 之后日期减一天
moment().format() 之后日期不对了,减少了一天或者多了一天utility.formatDateHTMLValue = function (d = new Date(), f = "YYYY-MM-DD") { let result = ""; if (d) { try { result = moment(d, ["MM-DD-YYYY", "MM/DD/YYYY", "YYYY-MM-DD", "YYYY/MM/DD"]).format(f); } catc