fix: preserve daily activity timezone metadata

This commit is contained in:
binglua committed 2026-06-29 02:38:41 +00:00
1 parent f73fcb6659
commit 636d2857c3
2 files changed
+24 -6

No files matched your search

+2
View File
@@ -290,6 +290,8 @@ class Database:
total_kcal, floors, active_minutes
) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
ON CONFLICT(id) DO UPDATE SET
timezone = excluded.timezone,
collected_at = excluded.collected_at,
steps = excluded.steps,
distance_m = excluded.distance_m,
active_kcal = excluded.active_kcal,