Standarizing

This commit is contained in:
Luis Fernando Molina committed 2020-11-25 16:52:07 +01:00
1 parent 8bb14854b7
commit 93d9cd403e
10 files changed
+43 -40

No files matched your search

+2 -2
View File
@@ -202,7 +202,7 @@
}
thisReport.save(callBack)
if (global.areEqualDates(bot.processDatetime, new Date()) === false) {
if (global.GET_EQUAL_DATES(bot.processDatetime, new Date()) === false) {
logger.newInternalLoop(bot.codeName, bot.process, bot.processDatetime)
}
@@ -210,7 +210,7 @@
let currentDateString = bot.processDatetime.getUTCFullYear() + '-' + utilities.pad(bot.processDatetime.getUTCMonth() + 1, 2) + '-' + utilities.pad(bot.processDatetime.getUTCDate(), 2)
let currentDate = new Date(bot.processDatetime)
let lastDate = new Date()
bot.processHeartBeat(currentDateString, global.getPercentage(currentDate, currentDate, lastDate))
bot.processHeartBeat(currentDateString, global.GET_PERCENTAGE(currentDate, currentDate, lastDate))
}
}
catch (err) {