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,