fix timeOnPod
This commit is contained in:
parent
22d78f356b
commit
19ff58ac95
1 changed files with 1 additions and 1 deletions
|
@ -189,7 +189,7 @@ class OmnipodDashPodStateManagerImpl @Inject constructor(
|
|||
if ((activationTime != null) && (minutesSinceActivation != null)) {
|
||||
return DateTime(activationTime)
|
||||
.plusMinutes(minutesSinceActivation.toInt())
|
||||
.plus(Duration(podState.lastStatusResponseReceived, System.currentTimeMillis()))
|
||||
.plus(Duration(podState.lastUpdatedSystem, System.currentTimeMillis()))
|
||||
}
|
||||
return null
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue