diff --git a/src/module/timeLabel.js b/src/module/timeLabel.js index 0b9b600..5adc000 100644 --- a/src/module/timeLabel.js +++ b/src/module/timeLabel.js @@ -11,10 +11,8 @@ const TOFIXED_DEICMAL = 1; export const getStepSizeOfYTicks = (maxTimeInSecond) => { const numOfParts = NUM_OF_PARTS_TO_SPLIT; const {unitToUse, timeValue} = getTimeUnitAndValueToUse(maxTimeInSecond); - console.log('{unitToUse, timeValue}', unitToUse, timeValue); // TODO: let resultStepSize; resultStepSize = (timeValue / numOfParts); - console.log('resultStepSize', resultStepSize); //TODO: return {resultStepSize, unitToUse}; } @@ -33,13 +31,11 @@ const getTimeUnitAndValueToUse = (secondToDecide) => { const mm = secondToDecide / minutes; if (dd > 0) { - console.log('dd > 0 && dd > 1 secondToDecide / day', secondToDecide / day); //TODO: return { unitToUse: "d", timeValue: secondToDecide / day, }; } else if (hh > 0) { - console.log('hh > 0 && hh > 1 secondToDecide / hour', secondToDecide / hour); return { unitToUse: "h", timeValue: secondToDecide / hour,