binbot-charts 0.2.29 → 0.2.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -143,8 +143,11 @@ class Datafeed {
|
|
|
143
143
|
if (this.timescaleMarks.length > 0) {
|
|
144
144
|
let timescaleMarks = [];
|
|
145
145
|
this.timescaleMarks.forEach(mark => {
|
|
146
|
+
console.log(mark);
|
|
146
147
|
let time = new Date(mark.time * 1000);
|
|
147
|
-
time.
|
|
148
|
+
time.setMinutes(0);
|
|
149
|
+
time.setSeconds(0);
|
|
150
|
+
time.setMilliseconds(0);
|
|
148
151
|
const roundFloor = time.getTime() / 1000;
|
|
149
152
|
mark.time = roundFloor;
|
|
150
153
|
timescaleMarks.push(mark);
|
package/package.json
CHANGED