diff --git a/.vs/AAOlivia-Plotter/v15/.suo b/.vs/AAOlivia-Plotter/v15/.suo index 68eff7da1..3fb33d14f 100644 Binary files a/.vs/AAOlivia-Plotter/v15/.suo and b/.vs/AAOlivia-Plotter/v15/.suo differ diff --git a/Candlestick.js b/Candlestick.js index 19255d7b6..03d9465b0 100644 --- a/Candlestick.js +++ b/Candlestick.js @@ -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);