1
0

fix: translate months in gantt chart

Related to #774
This commit is contained in:
kolaente
2021-10-04 21:38:01 +02:00
parent d583cb2094
commit a558f5b35a
2 changed files with 4 additions and 2 deletions

View File

@ -194,7 +194,6 @@ import TaskCollectionService from '../../services/taskCollection'
import {mapState} from 'vuex'
import Rights from '../../models/constants/rights.json'
import FilterPopup from '@/components/list/partials/filter-popup.vue'
import {format} from 'date-fns'
export default {
name: 'GanttChart',
@ -474,7 +473,7 @@ export default {
})
},
formatYear(date) {
return format(date, 'MMMM, yyyy')
return this.format(date, 'MMMM, yyyy')
},
},
}