Skip to content

Commit 48d1ae3

Browse files
committed
tweak tests/logging
1 parent 10dd236 commit 48d1ae3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

lib/report/reportclient.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ var init = function init () {
262262
var to = moment.tz(moment($('#rp_to').val()).endOf('day'), zone).endOf('day');
263263
timerange = '&find[created_at][$gte]=' + from.toISOString() + '&find[created_at][$lt]=' + to.toISOString();
264264

265-
//console.log("FROM", from.format( ), "TO", to.format( ), 'timerange', timerange);
265+
console.log("FROM", from.format( ), "TO", to.format( ), 'timerange', timerange);
266266
//console.log($('#rp_from').val(),$('#rp_to').val(),zone,timerange);
267267
while (from <= to) {
268268
if (daystoshow[from.format('YYYY-MM-DD')]) {

lib/report_plugins/daytoday.js

+2
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,9 @@ daytoday.report = function report_daytoday (datastorage, sorteddaystoshow, optio
9696
var fatSum = 0;
9797

9898
daytoday.prepareHtml(sorteddaystoshow);
99+
console.log('DAY2DAY', 'sorteddaystoshow', sorteddaystoshow);
99100
sorteddaystoshow.forEach(function eachDay (day) {
101+
100102
drawChart(day, datastorage[day], options);
101103
});
102104

0 commit comments

Comments
 (0)