Browse Source

REPORT-83685 fix: BI.parseDateTime方法对%l:%M:%S %p这种格式的日期解析出错(后面带%p 这种的都是同类型的报错)

master
zsmj 2 years ago committed by Kitetop
parent
commit
5368bef358
  1. 2
      src/core/func/alias.js

2
src/core/func/alias.js

@ -815,7 +815,7 @@
break;
case "M": // 月
if (len > 2) {
str = BI.Date._MN[date.getMonth()];
str = BI.getMonthName(date.getMonth());
} else if (len < 2) {
str = date.getMonth() + 1;
} else {

Loading…
Cancel
Save