Process Date Time

This commit is contained in:
Luis Fernando Molina committed 2020-11-30 16:57:04 +01:00
1 parent ec5ec9ba33
commit 5bfd5f5493
11 files changed
+19 -18

No files matched your search

+1 -1
View File
@@ -87,7 +87,7 @@ exports.newDebugLog = function (processIndex) {
percentage = percentage.toFixed(2) + " %"
}
if (date === undefined) { date = thisObject.bot.processDatetime }
if (date === undefined) { date = thisObject.TS.projects.superalgos.globals.processVariables.VARIABLES_BY_PROCESS_INDEX_MAP.get(processIndex).PROCESS_DATETIME }
date = date.getUTCFullYear() + '-' + strPad(date.getUTCMonth() + 1, 2, "0") + '-' + strPad(date.getUTCDate(), 2, "0");
logLoop(date, percentage, " Internal Loop # ")