summaryrefslogtreecommitdiff
path: root/plugins/libcalendaring
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-11-05 08:26:21 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2014-11-05 08:26:21 (GMT)
commit6b43156b55ee5c1c7a90b940c3567fb7d6cf57b8 (patch)
treeac6be17598a9b2dc41d97202752a59e647e490b9 /plugins/libcalendaring
parent52da8302cb0f29c57fac5a2c7b054c70c1e18c53 (diff)
downloadroundcubemail-plugins-kolab-6b43156b55ee5c1c7a90b940c3567fb7d6cf57b8.tar.gz
Prevent parsed dates to fall back into the previous year in Firefox on Windows (#3832) once more
Diffstat (limited to 'plugins/libcalendaring')
-rw-r--r--plugins/libcalendaring/libcalendaring.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/libcalendaring/libcalendaring.js b/plugins/libcalendaring/libcalendaring.js
index 5b8ad5c..8bf9c35 100644
--- a/plugins/libcalendaring/libcalendaring.js
+++ b/plugins/libcalendaring/libcalendaring.js
@@ -138,8 +138,8 @@ function rcube_libcalendaring(settings)
return null;
}
- var date = new Date(m[1], 0, 1),
- check = new Date(m[1], 0, 1, 9, 0);
+ var date = new Date(m[1], 0, 2),
+ check = new Date(m[1], 0, 2, 9, 0);
if (m[3]) {
date.setMonth(m[3] - 1);
check.setMonth(m[3] - 1);