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
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
2 changed files with 4 additions and 2 deletions

View file

@ -112,6 +112,9 @@ Vue.mixin({
formatDateShort(date) {
return formatDate(date, 'PPpp', this.$t('date.locale'))
},
format(date, f) {
return formatDate(date, f, this.$t('date.locale'))
},
getNamespaceTitle(n) {
return getNamespaceTitle(n, (p: VueI18n.Path) => this.$t(p))
},