Change dates
This commit is contained in:
parent
ce94c93085
commit
a36d3f99fe
|
@ -242,8 +242,8 @@ cal.getCalendar = function(user, firstDate = new Date(), lastDate = new Date(),
|
||||||
};
|
};
|
||||||
|
|
||||||
cal.getTotal = function(user, callback) {
|
cal.getTotal = function(user, callback) {
|
||||||
let firstDate = new Date(2017, 8, 1);
|
let firstDate = new Date(2000, 8, 1);
|
||||||
let lastDate = new Date(2018, 8, 1);
|
let lastDate = new Date(3000, 8, 1);
|
||||||
|
|
||||||
cal.getCalendar(user, firstDate, lastDate, (calendar) => {
|
cal.getCalendar(user, firstDate, lastDate, (calendar) => {
|
||||||
let res = {};
|
let res = {};
|
||||||
|
@ -274,8 +274,8 @@ cal.getTotal = function(user, callback) {
|
||||||
|
|
||||||
cal.getTotalByCourse = function(user, callback) {
|
cal.getTotalByCourse = function(user, callback) {
|
||||||
|
|
||||||
let firstDate = new Date(2017, 8, 1);
|
let firstDate = new Date(2000, 8, 1);
|
||||||
let lastDate = new Date(2018, 8, 1);
|
let lastDate = new Date(3000, 8, 1);
|
||||||
|
|
||||||
cal.getCalendar(user, firstDate, lastDate, (calendar) => {
|
cal.getCalendar(user, firstDate, lastDate, (calendar) => {
|
||||||
let res = {};
|
let res = {};
|
||||||
|
|
Loading…
Reference in New Issue