Merge pull request #72 from FWeinb/patch-1

add 'dez' to month object to fix work in december
This commit is contained in:
Benny 2021-12-08 18:28:23 +01:00 committed by GitHub
commit 0fdbefe13c
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,
'Okt': 9,
'Nov': 10,
'Dec': 11
'Dec': 11,
'Dez': 11
}
let m
m = stringDate.match(/([\d]{1,2}) ([\w]{3})/)