Kaynağa Gözat

Convert seconds to milliseconds for Nightscout profile

Jan Dittmer 4 yıl önce
ebeveyn
işleme
c9ef464894

+ 1 - 1
FreeAPS/Sources/Services/Network/NightscoutManager.swift

@@ -312,7 +312,7 @@ final class BaseNightscoutManager: NightscoutManager, Injectable {
         let p = NightscoutProfileStore(
             defaultProfile: defaultProfile,
             startDate: now,
-            mills: Int(now.timeIntervalSince1970),
+            mills: Int(now.timeIntervalSince1970) * 1000,
             units: nsUnits,
             enteredBy: NigtscoutTreatment.local,
             store: [defaultProfile: ps]