fix show january
This commit is contained in:
parent
38480a1eec
commit
9a648e8443
|
@ -235,7 +235,7 @@ export default defineComponent({
|
||||||
'November',
|
'November',
|
||||||
'Dezember',
|
'Dezember',
|
||||||
'-',
|
'-',
|
||||||
][value?.getMonth() || 12];
|
][value?.getMonth() === 0 ? 0 : value?.getMonth() || 12];
|
||||||
}
|
}
|
||||||
function asYear(value?: Date) {
|
function asYear(value?: Date) {
|
||||||
return value?.getFullYear() || '-';
|
return value?.getFullYear() || '-';
|
||||||
|
|
Loading…
Reference in New Issue