diff --git a/lib/models/DuviriCycle.js b/lib/models/DuviriCycle.js index e06d6284c..5e515a7c4 100644 --- a/lib/models/DuviriCycle.js +++ b/lib/models/DuviriCycle.js @@ -13,7 +13,11 @@ const getStageInfo = () => { const stateDelta = cycleDelta % stateTime; const untilNext = stateTime - stateDelta; const expiry = new Date(Date.now() + untilNext * 1000); + expiry.setSeconds(0); + expiry.setMilliseconds(0); const activation = new Date(expiry.getTime() - stateTime * 1000); + activation.setSeconds(0); + activation.setMilliseconds(0); return { state: states[stateInd], expiry,