From 5225345496b0e66e7ddbc550ee9d7dbcea4a187a Mon Sep 17 00:00:00 2001 From: zuihou <244387066@qq.com> Date: Fri, 29 Oct 2021 20:09:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=85=A8=E5=B1=80=E6=97=A5=E6=9C=9F?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E5=8C=96=E7=BC=BA=E5=B0=91=E7=A7=92(?= =?UTF-8?q?=E5=A4=A7=E5=A4=9A=E6=95=B0=E5=9C=BA=E6=99=AF=E6=97=A5=E6=9C=9F?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E9=83=BD=E9=9C=80=E8=A6=81=E6=90=BA=E5=B8=A6?= =?UTF-8?q?=E7=A7=92=EF=BC=81)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/dateUtil.ts | 2 +- src/utils/http/axios/helper.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/dateUtil.ts b/src/utils/dateUtil.ts index efac9262..1ea97249 100644 --- a/src/utils/dateUtil.ts +++ b/src/utils/dateUtil.ts @@ -3,7 +3,7 @@ */ import moment from 'moment'; -const DATE_TIME_FORMAT = 'YYYY-MM-DD HH:mm'; +const DATE_TIME_FORMAT = 'YYYY-MM-DD HH:mm:ss'; const DATE_FORMAT = 'YYYY-MM-DD '; export function formatToDateTime( diff --git a/src/utils/http/axios/helper.ts b/src/utils/http/axios/helper.ts index 7678b767..ffbe08b5 100644 --- a/src/utils/http/axios/helper.ts +++ b/src/utils/http/axios/helper.ts @@ -1,6 +1,6 @@ import { isObject, isString } from '/@/utils/is'; -const DATE_TIME_FORMAT = 'YYYY-MM-DD HH:mm'; +const DATE_TIME_FORMAT = 'YYYY-MM-DD HH:mm:ss'; export function joinTimestamp( join: boolean,