diff --git a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/pod/state/OmnipodDashPodStateManagerImpl.kt b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/pod/state/OmnipodDashPodStateManagerImpl.kt index 0d11e05373..07c551a018 100644 --- a/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/pod/state/OmnipodDashPodStateManagerImpl.kt +++ b/omnipod-dash/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/dash/driver/pod/state/OmnipodDashPodStateManagerImpl.kt @@ -124,7 +124,10 @@ class OmnipodDashPodStateManagerImpl @Inject constructor( override val sameTimeZone: Boolean get() { val now = System.currentTimeMillis() - return TimeZone.getDefault().getOffset(now) == timeZone.getOffset(now) + val currentOffset = TimeZone.getDefault().getOffset(now) + val podOffset = timeZone.getOffset(now) + logger.debug(LTag.PUMPCOMM, "sameTimeZone currentOffset=$currentOffset podOffset=$podOffset") + return currentOffset == podOffset } override val bluetoothVersion: SoftwareVersion?