diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/endpointQuery.vue b/nezha-fronted/src/components/common/bottomBox/tabs/endpointQuery.vue index c35c68f11..8cbd7dcb7 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/endpointQuery.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/endpointQuery.vue @@ -30,8 +30,8 @@ clearable :time-arrow-control="true" placeholder="Moment" - :value-format="endpointQueryTime" - :format="endpointQueryTime" + :value-format="timeFormatStrToDatePickFormat(endpointQueryTime)" + :format="timeFormatStrToDatePickFormat(endpointQueryTime)" > diff --git a/nezha-fronted/src/components/common/bottomBox/tabs/endpointQueryTab.vue b/nezha-fronted/src/components/common/bottomBox/tabs/endpointQueryTab.vue index 0e8f199f8..a86e996cc 100644 --- a/nezha-fronted/src/components/common/bottomBox/tabs/endpointQueryTab.vue +++ b/nezha-fronted/src/components/common/bottomBox/tabs/endpointQueryTab.vue @@ -40,8 +40,8 @@ clearable :time-arrow-control="true" placeholder="Moment" - :value-format="endpointQueryTabTime" - :format="endpointQueryTabTime" + :value-format="timeFormatStrToDatePickFormat(endpointQueryTabTime)" + :format="timeFormatStrToDatePickFormat(endpointQueryTabTime)" @change="pickTime" > diff --git a/nezha-fronted/src/components/common/multipleTime.vue b/nezha-fronted/src/components/common/multipleTime.vue index 9f82b7dfa..a450500e7 100644 --- a/nezha-fronted/src/components/common/multipleTime.vue +++ b/nezha-fronted/src/components/common/multipleTime.vue @@ -4,7 +4,7 @@
diff --git a/nezha-fronted/src/components/common/myDatePicker/src/picker.vue b/nezha-fronted/src/components/common/myDatePicker/src/picker.vue index 770675cef..89a82eed3 100644 --- a/nezha-fronted/src/components/common/myDatePicker/src/picker.vue +++ b/nezha-fronted/src/components/common/myDatePicker/src/picker.vue @@ -109,13 +109,13 @@ const NewPopper = { const DEFAULT_FORMATS = { date: 'yyyy-MM-dd', month: 'yyyy-MM', - datetime: 'YYYY-MM-DD HH:mm:ss', + datetime: 'yyyy-MM-dd HH:mm:ss', time: 'HH:mm:ss', week: 'yyyywWW', timerange: 'HH:mm:ss', daterange: 'yyyy-MM-dd', monthrange: 'yyyy-MM', - datetimerange: 'YYYY-MM-DD HH:mm:ss', + datetimerange: 'yyyy-MM-dd HH:mm:ss', year: 'yyyy' } const HAVE_TRIGGER_TYPES = [ diff --git a/nezha-fronted/src/components/common/rightBox/alertSilenceBox.vue b/nezha-fronted/src/components/common/rightBox/alertSilenceBox.vue index 6eb6821d3..0550c725f 100644 --- a/nezha-fronted/src/components/common/rightBox/alertSilenceBox.vue +++ b/nezha-fronted/src/components/common/rightBox/alertSilenceBox.vue @@ -38,7 +38,7 @@
{{ $t("overall.startTime") }} {{ $t("overall.endTime") }}