Преглед изворни кода

Add timestamp of bolus to individual bolus log

Deniz Cengiz пре 1 година
родитељ
комит
e3397bbfc9
1 измењених фајлова са 1 додато и 1 уклоњено
  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
             }