ag-timemachine
Advanced tools
Comparing version 1.0.43 to 1.0.44
{ | ||
"name": "ag-timemachine", | ||
"version": "1.0.43", | ||
"version": "1.0.44", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -171,3 +171,3 @@ "use strict"; | ||
result = { time: start, counts: new Array(24 * 60).fill(0) }; | ||
minutes.forEach(function (m) { return result.counts[m._id.hour * 60 + m._id.minute] = m.count; }); | ||
minutes.forEach(function (m) { return result.counts[((m._id.hour + 8) % 24) * 60 + m._id.minute] = m.count; }); | ||
return [2 /*return*/, result]; | ||
@@ -174,0 +174,0 @@ } |
66017