Hack determine_basal so a date string could be converted to date object
This commit is contained in:
parent
8eeb91a0a8
commit
0a5bd7f935
1 changed files with 1 additions and 1 deletions
|
@ -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') {
|
||||
|
|
Loading…
Reference in a new issue