Prevent parsed dates to fall back into the previous year in Firefox on Windows (#3832) once more
This commit is contained in:
parent
52da8302cb
commit
6b43156b55
1 changed files with 2 additions and 2 deletions
|
@ -138,8 +138,8 @@ function rcube_libcalendaring(settings)
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
var date = new Date(m[1], 0, 1),
|
var date = new Date(m[1], 0, 2),
|
||||||
check = new Date(m[1], 0, 1, 9, 0);
|
check = new Date(m[1], 0, 2, 9, 0);
|
||||||
if (m[3]) {
|
if (m[3]) {
|
||||||
date.setMonth(m[3] - 1);
|
date.setMonth(m[3] - 1);
|
||||||
check.setMonth(m[3] - 1);
|
check.setMonth(m[3] - 1);
|
||||||
|
|
Loading…
Add table
Reference in a new issue