Skip to content

Commit

Permalink
Fixed wrong date on files (issue #203)
Browse files Browse the repository at this point in the history
  • Loading branch information
fileformats committed May 12, 2018
1 parent d01fa8c commit 650e752
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion headers/entryHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ module.exports = function () {
val = new Date(val);
_time = (val.getFullYear() - 1980 & 0x7f) << 25 // b09-16 years from 1980
| (val.getMonth() + 1) << 21 // b05-08 month
| val.getDay() << 16 // b00-04 hour
| val.getDate() << 16 // b00-04 hour

// 2 bytes time
| val.getHours() << 11 // b11-15 hour
Expand Down

0 comments on commit 650e752

Please sign in to comment.