diff --git a/src/components/tasks/gantt-component.vue b/src/components/tasks/gantt-component.vue index 5204e873..db725bfe 100644 --- a/src/components/tasks/gantt-component.vue +++ b/src/components/tasks/gantt-component.vue @@ -24,10 +24,7 @@ class="month" v-for="(m, mk) in days[yk]" > - {{ - new Date(new Date(`${yk}-${parseInt(mk) + 1}-01`)).toLocaleString('en-us', {month: 'long'}) - }}, - {{ new Date(yk).getFullYear() }} + {{ formatYear(new Date(`${yk}-${parseInt(mk) + 1}-01`)) }}