add 'dez' to month array to fix work in december

This commit is contained in:
Fabrice 2021-12-08 17:33:47 +01:00 committed by GitHub
parent 73c14baacf
commit 46ed2a640f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -241,7 +241,8 @@ const parseShortDate = (stringDate, orderDate) => {
'Oct': 9, 'Oct': 9,
'Okt': 9, 'Okt': 9,
'Nov': 10, 'Nov': 10,
'Dec': 11 'Dec': 11,
'Dez': 11
} }
let m let m
m = stringDate.match(/([\d]{1,2}) ([\w]{3})/) m = stringDate.match(/([\d]{1,2}) ([\w]{3})/)