diff --git a/headers/entryHeader.js b/headers/entryHeader.js index 61000ad..6f54e7a 100644 --- a/headers/entryHeader.js +++ b/headers/entryHeader.js @@ -98,6 +98,7 @@ module.exports = function () { return Utils.fromDOS2Date(this.timeval); }, set time(val) { + val = new Date(val); this.timeval = Utils.fromDate2DOS(val); },