diff --git a/core/src/main/java/info/nightscout/androidaps/extensions/TemporaryTargetExtension.kt b/core/src/main/java/info/nightscout/androidaps/extensions/TemporaryTargetExtension.kt index 37b00f7c07..d4455ceb80 100644 --- a/core/src/main/java/info/nightscout/androidaps/extensions/TemporaryTargetExtension.kt +++ b/core/src/main/java/info/nightscout/androidaps/extensions/TemporaryTargetExtension.kt @@ -99,6 +99,7 @@ fun TemporaryTarget.toJson(isAdd: Boolean, units: GlucoseUnit, dateUtil: DateUti .put("durationInMilliseconds", duration) .put("isValid", isValid) .put("created_at", dateUtil.toISOString(timestamp)) + .put("timestamp", timestamp) .put("enteredBy", "AndroidAPS").also { if (lowTarget > 0) it .put("reason", reason.text)