diff --git a/app/src/main/assets/OpenAPSSMB/determine-basal.js b/app/src/main/assets/OpenAPSSMB/determine-basal.js index 0ddbd9d601..363e46da73 100644 --- a/app/src/main/assets/OpenAPSSMB/determine-basal.js +++ b/app/src/main/assets/OpenAPSSMB/determine-basal.js @@ -115,7 +115,7 @@ var determine_basal = function determine_basal(glucose_status, currenttemp, iob_ var deliverAt = new Date(); if (currentTime) { - deliverAt = currentTime; + deliverAt = new Date(currentTime); } if (typeof profile === 'undefined' || typeof profile.current_basal === 'undefined') {