From fb56e890e6a8a0ec88919e20ef4cacee0aa572cd Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 21 Jul 2022 16:19:35 +0200 Subject: [PATCH] feat: increase the default date range --- src/views/list/ListGantt.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/list/ListGantt.vue b/src/views/list/ListGantt.vue index 2df01a40..8b7ec59c 100644 --- a/src/views/list/ListGantt.vue +++ b/src/views/list/ListGantt.vue @@ -77,7 +77,7 @@ const precision = ref('day') const now = ref(new Date()) const defaultFrom = format(new Date((new Date()).setDate(now.value.getDate() - 15)), 'yyyy-LL-dd') -const defaultTo = format(new Date((new Date()).setDate(now.value.getDate() + 30)), 'yyyy-LL-dd') +const defaultTo = format(new Date((new Date()).setDate(now.value.getDate() + 55)), 'yyyy-LL-dd') const range = ref(`${defaultFrom} to ${defaultTo}`) // TODO: only update once both dates are available (maybe use a watcher + refs instead?)