plugins/calendar

Thomas Brüderli bruederli at kolabsys.com
Tue Nov 4 17:04:33 CET 2014


 plugins/calendar/lib/js/fullcalendar.js |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 1eed6b74c95397cf9176b98c28d0d4732cb0656c
Author: Thomas Bruederli <bruederli at kolabsys.com>
Date:   Tue Nov 4 19:01:58 2014 +0300

    Prevent dates to fall back into the previous year in Firefox on Windows (#3832)

diff --git a/plugins/calendar/lib/js/fullcalendar.js b/plugins/calendar/lib/js/fullcalendar.js
index a67da0e..3b79107 100644
--- a/plugins/calendar/lib/js/fullcalendar.js
+++ b/plugins/calendar/lib/js/fullcalendar.js
@@ -1513,9 +1513,9 @@ function parseISO8601(s, ignoreTimezone) { // ignoreTimezone defaults to false
 	if (!m) {
 		return null;
 	}
-	var date = new Date(m[1], 0, 1);
+	var date = new Date(m[1], 0, 2);
 	if (ignoreTimezone || !m[13]) {
-		var check = new Date(m[1], 0, 1, 9, 0);
+		var 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