From 2636cb6238693687c6ecd88fdeabf7fddf66a067 Mon Sep 17 00:00:00 2001 From: "Kevin.King" Date: Wed, 29 Mar 2023 19:31:01 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-92800=20fix:FR11=E6=A0=B7=E5=BC=8F-?= =?UTF-8?q?=E6=8E=A7=E4=BB=B6-yyyy-MM=E6=A0=BC=E5=BC=8F=E7=9A=84=E6=97=A5?= =?UTF-8?q?=E6=9C=9F=E6=8E=A7=E4=BB=B6=EF=BC=8C=E6=97=A0=E6=B3=95=E9=80=89?= =?UTF-8?q?=E4=B8=AD2=E6=9C=88=E4=BB=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/core/2.base.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/2.base.js b/src/core/2.base.js index d8b9bd6d4..8f05642be 100644 --- a/src/core/2.base.js +++ b/src/core/2.base.js @@ -1130,7 +1130,7 @@ m = today.getMonth(); } if (isNaN(d)) { - d = today.getDate(); + d = Math.min(BI.getMonthDays(BI.getDate(y, m)), today.getDate()); } if (isNaN(hr)) { hr = today.getHours();