From 339823ed55ad98ce90ac9ad415965cfd5e04b5a3 Mon Sep 17 00:00:00 2001 From: Rodrigo Rosmaninho Date: Fri, 3 May 2019 17:29:53 +0100 Subject: [PATCH] Fixed bug - google calendar event month was off-by-one --- js/examsCalendar.js | 2 +- manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/examsCalendar.js b/js/examsCalendar.js index b5e0a0e..eff5ae6 100644 --- a/js/examsCalendar.js +++ b/js/examsCalendar.js @@ -36,7 +36,7 @@ function parseRow(row){ tempHours = row[3].innerText.split(":") data = new Date(); data.setDate(tempDate[0]); - data.setMonth(tempDate[1]); + data.setMonth(tempDate[1]-1); data.setFullYear(tempDate[2]); data.setHours(tempHours[0],tempHours[1],0); diff --git a/manifest.json b/manifest.json index 2e056b3..ad0c820 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "name": "PACO UA Extension", - "version": "0.23", + "version": "0.24", "description": "Adiciona funcionalidade ao antigo PACO da Universidade de Aveiro",