We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d01fa8c commit 650e752Copy full SHA for 650e752
headers/entryHeader.js
@@ -26,7 +26,7 @@ module.exports = function () {
26
val = new Date(val);
27
_time = (val.getFullYear() - 1980 & 0x7f) << 25 // b09-16 years from 1980
28
| (val.getMonth() + 1) << 21 // b05-08 month
29
- | val.getDay() << 16 // b00-04 hour
+ | val.getDate() << 16 // b00-04 hour
30
31
// 2 bytes time
32
| val.getHours() << 11 // b11-15 hour
0 commit comments