Pod expiry datetime drifting until next refresh or connection (issue#92)
This commit is contained in:
parent
51709c2af8
commit
9e4c1abd12
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ class OmnipodDashPodStateManagerImpl @Inject constructor(
|
|||
return ZonedDateTime.now()
|
||||
.plusHours(podLifeInHours.toLong())
|
||||
.minusMinutes(minutesSinceActivation.toLong())
|
||||
.plus(Duration.ofMillis(System.currentTimeMillis() - lastUpdatedSystem))
|
||||
.minus(Duration.ofMillis(System.currentTimeMillis() - lastUpdatedSystem))
|
||||
}
|
||||
return null
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue