diff --git a/mylogger.js b/mylogger.js index 7b40760..12edd76 100644 --- a/mylogger.js +++ b/mylogger.js @@ -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];