fix show january

This commit is contained in:
Tim Gröger 2024-01-16 14:58:34 +01:00
parent 38480a1eec
commit 9a648e8443
1 changed files with 1 additions and 1 deletions

View File

@ -235,7 +235,7 @@ export default defineComponent({
'November',
'Dezember',
'-',
][value?.getMonth() || 12];
][value?.getMonth() === 0 ? 0 : value?.getMonth() || 12];
}
function asYear(value?: Date) {
return value?.getFullYear() || '-';