From 646336520260a87eedf02018632991e889f0f0f0 Mon Sep 17 00:00:00 2001 From: hyx Date: Mon, 7 Aug 2023 18:14:08 +0800 Subject: [PATCH] =?UTF-8?q?CN-1139=20fix:=E8=B6=8B=E5=8A=BF=E5=9B=BE?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1=E8=B6=85=E8=BF=8712h=E7=9A=84=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E6=97=B6=EF=BC=8Cx=E8=BD=B4=E6=97=B6=E9=97=B4?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E5=BD=A2=E5=BC=8F=E4=BF=AE=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=EF=BC=9A=E8=B7=A8=E5=A4=A9=E6=97=B6=E5=B1=95=E7=A4=BA=E5=B9=B4?= =?UTF-8?q?=E6=9C=88=E6=97=A5=EF=BC=8C=E5=85=B6=E4=BB=96=E7=9A=84=E4=BF=9D?= =?UTF-8?q?=E7=95=99=E6=97=B6=E5=88=86=E5=BD=A2=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/date-util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/date-util.js b/src/utils/date-util.js index 281593e8..93f99872 100644 --- a/src/utils/date-util.js +++ b/src/utils/date-util.js @@ -122,7 +122,7 @@ export function xAxisTimeFormatter (value) { (date.getMinutes() < 10 ? `0${date.getMinutes()}` : date.getMinutes()) // 如果是一天的开始 if (date.getTime() === dayStart.getTime()) { - return '{day|' + dateFormat(date, 'YYYY-MM-DD\nHH:mm') + '}' + return '{day|' + dateFormat(date, 'YYYY-MM-DD') + '}' } else if (date.getTime() === hourStart.getTime()) { return '{hour|' + HHmm + '}' } else {