diff --git a/src/layout/components/NavBar.vue b/src/layout/components/NavBar.vue index 35e6b53c..2287e878 100644 --- a/src/layout/components/NavBar.vue +++ b/src/layout/components/NavBar.vue @@ -53,8 +53,8 @@ limitations under the License. --> @@ -248,7 +248,7 @@ limitations under the License. --> if (!day) { return appStore.setMaxRange([]); } - const gap = dayToMS(day) + hour * 60 * 60 * 1000 + minute * 60 * 1000; + const gap = dayToMS(day + 1) + hour * 60 * 60 * 1000 + minute * 60 * 1000; const dates: Date[] = [new Date(new Date().getTime() - gap), new Date()]; appStore.setMaxRange(dates); }