refs #5541 Date created timezone fix
gitea/mylogger/pipeline/head This commit looks good Details

This commit is contained in:
Juan Ferrer 2023-04-11 16:27:33 +02:00
parent 8be905fea9
commit 4c01accba3
1 changed files with 2 additions and 2 deletions

View File

@ -614,14 +614,14 @@ module.exports = class MyLogger {
}
let created = new Date(evt.timestamp);
created = Date.UTC(
created = new Date(Date.UTC(
created.getFullYear(),
created.getMonth(),
created.getDate(),
created.getHours(),
created.getMinutes(),
created.getSeconds()
);
));
const modelName = tableInfo.modelName;
const modelId = row[tableInfo.idName];