refs #5541 Removed js workaround to fix timezone
gitea/mylogger/pipeline/head There was a failure building this commit
Details
gitea/mylogger/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
14723cbec0
commit
6c256e3b84
11
mylogger.js
11
mylogger.js
|
@ -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
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue