plugins/libcalendaring
Thomas Brüderli
bruederli at kolabsys.com
Wed Nov 5 09:26:38 CET 2014
plugins/libcalendaring/libcalendaring.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 6b43156b55ee5c1c7a90b940c3567fb7d6cf57b8
Author: Thomas Bruederli <bruederli at kolabsys.com>
Date: Wed Nov 5 09:26:21 2014 +0100
Prevent parsed dates to fall back into the previous year in Firefox on Windows (#3832) once more
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);
More information about the commits
mailing list