diff --git a/src/filters/dateRange.js b/src/filters/dateRange.js index d014f57fc..4c0cfe654 100644 --- a/src/filters/dateRange.js +++ b/src/filters/dateRange.js @@ -2,7 +2,7 @@ export default function dateRange(value) { const minHour = new Date(value); minHour.setHours(0, 0, 0, 0); const maxHour = new Date(value); - maxHour.setHours(22, 59, 59, 59); + maxHour.setHours(23, 59, 59, 59); return [minHour, maxHour]; } diff --git a/src/pages/Item/ItemRequestFilter.vue b/src/pages/Item/ItemRequestFilter.vue index 2fbe849d1..2c056acc6 100644 --- a/src/pages/Item/ItemRequestFilter.vue +++ b/src/pages/Item/ItemRequestFilter.vue @@ -192,6 +192,7 @@ const decrement = (paramsObj, key) => { v-model="params.from" @update:model-value="searchFn()" is-outlined + emit-date-format /> @@ -202,6 +203,7 @@ const decrement = (paramsObj, key) => { v-model="params.to" @update:model-value="searchFn()" is-outlined + emit-date-format />