Skip to content

Commit

Permalink
tweak tests/logging
Browse files Browse the repository at this point in the history
  • Loading branch information
bewest committed Jan 27, 2023
1 parent 10dd236 commit 48d1ae3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/report/reportclient.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ var init = function init () {
var to = moment.tz(moment($('#rp_to').val()).endOf('day'), zone).endOf('day');
timerange = '&find[created_at][$gte]=' + from.toISOString() + '&find[created_at][$lt]=' + to.toISOString();

//console.log("FROM", from.format( ), "TO", to.format( ), 'timerange', timerange);
console.log("FROM", from.format( ), "TO", to.format( ), 'timerange', timerange);
//console.log($('#rp_from').val(),$('#rp_to').val(),zone,timerange);
while (from <= to) {
if (daystoshow[from.format('YYYY-MM-DD')]) {
Expand Down
2 changes: 2 additions & 0 deletions lib/report_plugins/daytoday.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ daytoday.report = function report_daytoday (datastorage, sorteddaystoshow, optio
var fatSum = 0;

daytoday.prepareHtml(sorteddaystoshow);
console.log('DAY2DAY', 'sorteddaystoshow', sorteddaystoshow);
sorteddaystoshow.forEach(function eachDay (day) {

drawChart(day, datastorage[day], options);
});

Expand Down

0 comments on commit 48d1ae3

Please sign in to comment.