From 5f7159ebc49e73bc4757c7cefa9a10ed14d65b46 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 63ed5af34..302ba4d1f 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?)