diff --git a/.vs/Plotters-Trading/v15/.suo b/.vs/Plotters-Trading/v15/.suo index 8145f729d..98af444ac 100644 Binary files a/.vs/Plotters-Trading/v15/.suo and b/.vs/Plotters-Trading/v15/.suo differ diff --git a/Details.js b/Details.js index 6eb2b6d6f..f2977c987 100644 --- a/Details.js +++ b/Details.js @@ -171,23 +171,10 @@ } - function setDatetime(newDatetime) { + function setDatetime(pDatetime) { - /* If there is a change in the day, then we take some actions, otherwise, we dont. */ + datetime = pDatetime; - let currentDate = Math.trunc(datetime.valueOf() / ONE_DAY_IN_MILISECONDS); - let newDate = Math.trunc(newDatetime.valueOf() / ONE_DAY_IN_MILISECONDS); - - datetime = newDatetime; - - if (currentDate !== newDate) { - - if (timePeriod <= _1_HOUR_IN_MILISECONDS) { - - fileCursorCache.setDatetime(newDatetime); - - } - } } function draw() {