diff --git a/src/utils/dateUtil.ts b/src/utils/dateUtil.ts index efac92623..1ea972499 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 7678b7675..ffbe08b5e 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,