Month and Year elliminated

This commit is contained in:
Luis Fernando Molina committed 2018-02-17 11:52:43 +01:00
1 parent 0f2bdae15f
commit 6899715531
1 file changed
+2 -10
+2 -10
View File
@@ -40,29 +40,21 @@
let utilities = UTILITIES.newUtilities(bot);
let year;
let month;
return interval;
function initialize(yearAssigend, monthAssigned, callBackFunction) {
try {
year = yearAssigend;
month = monthAssigned;
/* IMPORTANT NOTE:
We are ignoring in this Interval the received Year and Month. This interval is not depending on Year Month since it procecess the whole market at once.
*/
month = utilities.pad(month, 2); // Adding a left zero when needed.
logger.fileName = MODULE_NAME;
logger.fileName = MODULE_NAME + "-" + year + "-" + month;
const logText = "[INFO] initialize - Entering function 'initialize' " + " @ " + year + "-" + month;
const logText = "[INFO] initialize - Entering function 'initialize' ";
console.log(logText);
logger.write(logText);