mirror of
https://github.com/ThisIsBenny/iOS-Widgets.git
synced 2025-04-19 15:27:40 +00:00
add 'dez' to month array to fix work in december
This commit is contained in:
parent
73c14baacf
commit
46ed2a640f
1 changed files with 2 additions and 1 deletions
|
@ -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})/)
|
||||||
|
|
Loading…
Add table
Reference in a new issue