warsaw timezone

This commit is contained in:
2026-09-20 18:24:32 +02:00
parent 29a65a6f9d
commit ceb2431f8e
3 changed files with 10 additions and 9 deletions
+2 -2
View File
@@ -48,7 +48,7 @@ def create_app():
readouts = query.order_by(SensorReadout.timestamp.desc()).limit(300).all()
return jsonify(
[
{"value": r.value, "timestamp": r.timestamp.isoformat()}
{"value": r.value, "timestamp": r.timestamp.isoformat() + "Z"}
for r in readouts
]
)
@@ -124,7 +124,7 @@ def create_app():
"sensor_id": readout.sensor_id,
"type": readout.type,
"value": readout.value,
"timestamp": readout.timestamp.isoformat(),
"timestamp": readout.timestamp.isoformat() + "Z",
}
), 201