rightDate.valueOf() + ONE_DAY_IN_MILISECONDS

This commit is contained in:
Luis Fernando Molina committed 2018-02-20 18:49:52 +01:00
1 parent 8c6e924e63
commit 103bc340f6
2 files changed
+1 -1

No files matched your search

Binary file not shown.
+1 -1
View File
@@ -361,7 +361,7 @@
candles = [];
while (currentDate.valueOf() <= rightDate.valueOf()) {
while (currentDate.valueOf() <= rightDate.valueOf() + ONE_DAY_IN_MILISECONDS) {
let stringDate = currentDate.getFullYear() + '-' + pad(currentDate.getMonth() + 1, 2) + '-' + pad(currentDate.getDate(), 2);