Explorar o código

Add timestamp of bolus to individual bolus log

Deniz Cengiz hai 1 ano
pai
achega
e3397bbfc9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      FreeAPS/Sources/APS/Storage/TDDStorage.swift

+ 1 - 1
FreeAPS/Sources/APS/Storage/TDDStorage.swift

@@ -154,7 +154,7 @@ final class BaseTDDStorage: TDDStorage, Injectable {
                 let newTotalBolusInsulin = totalBolusInsulin + (event.amount as Decimal? ?? 0)
                 debug(
                     .apsManager,
-                    "Bolus insulin \(event.amount ?? 0) U added. New total bolus = \(newTotalBolusInsulin) U"
+                    "Bolus \(event.amount ?? 0) U dosed at \(event.timestamp.ISO8601Format()) added. New total bolus = \(newTotalBolusInsulin) U"
                 )
                 return newTotalBolusInsulin
             }