Change dates

This commit is contained in:
Thomas Forgione 2018-05-10 16:14:03 +02:00
parent ce94c93085
commit a36d3f99fe
No known key found for this signature in database
GPG Key ID: 3B8FC64F5BBFE109
1 changed files with 4 additions and 4 deletions

View File

@ -242,8 +242,8 @@ cal.getCalendar = function(user, firstDate = new Date(), lastDate = new Date(),
};
cal.getTotal = function(user, callback) {
let firstDate = new Date(2017, 8, 1);
let lastDate = new Date(2018, 8, 1);
let firstDate = new Date(2000, 8, 1);
let lastDate = new Date(3000, 8, 1);
cal.getCalendar(user, firstDate, lastDate, (calendar) => {
let res = {};
@ -274,8 +274,8 @@ cal.getTotal = function(user, callback) {
cal.getTotalByCourse = function(user, callback) {
let firstDate = new Date(2017, 8, 1);
let lastDate = new Date(2018, 8, 1);
let firstDate = new Date(2000, 8, 1);
let lastDate = new Date(3000, 8, 1);
cal.getCalendar(user, firstDate, lastDate, (calendar) => {
let res = {};