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.setHours(1, 0, 0, 0);
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
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.2.29",
2
+ "version": "0.2.30",
3
3
  "name": "binbot-charts",
4
4
  "dependencies": {
5
5
  "react": "^17.0.1",