refs #5541 Removed js workaround to fix timezone
gitea/mylogger/pipeline/head There was a failure building this commit Details

This commit is contained in:
Juan Ferrer 2023-04-11 20:24:19 +02:00
parent 14723cbec0
commit 6c256e3b84
2 changed files with 2 additions and 11 deletions

View File

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

View File

@ -1,6 +1,6 @@
{
"name": "mylogger",
"version": "0.1.5",
"version": "0.1.6",
"author": "Verdnatura Levante SL",
"description": "MySQL and MariaDB logger using binary log",
"license": "GPL-3.0",