Marc-André Bombeck
f665a42789
fix(medications): converge a same-day Apple dose onto the slot's take
...
The extra-dose rule split a dose that HealthLog already recorded: a tap
at 08:00 and the same dose arriving from Health at 08:20 became two
doses and consumed stock twice, and a dose edited in Health (a new
record, a new time) became a second dose next to the first. The rule
now follows the calendar and the record: a take on another local day
is another dose; on the same day, a take logged in HealthLog converges
with the incoming record, a new record that names the slot as its
scheduled time is the slot's dose recorded again, and only an
unscheduled record more than a minute from the held one is an extra
dose.
2026-10-15 16:38:12 +02:00
..
2026-10-15 15:19:46 +02:00
2026-10-08 22:37:57 +02:00
2026-10-11 15:16:54 +02:00
2026-10-11 13:09:12 +02:00
2026-10-03 18:18:56 +02:00
2026-09-10 08:39:09 +02:00
2026-10-01 09:00:53 +02:00
2026-10-04 10:14:22 +02:00
2026-10-11 12:27:53 +02:00
2026-10-14 18:59:32 +02:00
2026-09-25 21:55:14 +02:00
2026-09-10 03:55:46 +02:00
2026-10-06 21:49:27 +02:00
2026-09-24 09:05:09 +02:00
2026-09-26 19:46:01 +02:00
2026-10-01 10:39:26 +02:00
2026-10-05 12:19:41 +02:00
2026-10-09 17:42:00 +02:00
2026-10-08 14:31:13 +02:00
2026-07-21 01:34:29 +02:00
2026-10-11 13:09:12 +02:00
2026-10-15 11:24:40 +02:00
2026-10-09 09:43:01 +02:00
2026-10-08 13:13:49 +02:00
2026-08-07 00:01:27 +02:00
2026-09-24 07:49:14 +02:00
2026-09-26 22:21:43 +02:00
2026-10-15 11:01:16 +02:00
2026-08-04 17:11:40 +02:00
2026-10-15 11:01:16 +02:00
2026-10-03 23:46:40 +02:00
2026-10-15 11:24:40 +02:00
2026-10-09 16:05:32 +02:00
2026-10-08 10:32:11 +02:00
2026-10-15 15:05:51 +02:00
2026-10-15 15:33:30 +02:00
2026-10-11 12:27:53 +02:00
2026-10-15 15:03:06 +02:00
2026-10-08 22:37:57 +02:00
2026-10-08 11:18:14 +02:00
2026-10-09 16:05:32 +02:00
2026-08-02 16:36:25 +02:00
2026-09-26 22:19:49 +02:00
2026-10-15 15:33:30 +02:00
2026-10-15 16:38:12 +02:00
2026-09-10 11:15:50 +02:00
2026-10-01 10:06:39 +02:00
2026-10-04 15:13:52 +02:00
2026-10-08 16:45:49 +02:00
2026-10-01 10:01:06 +02:00
2026-10-15 11:01:16 +02:00
2026-10-14 18:57:06 +02:00
2026-09-25 07:39:07 +02:00
2026-09-10 18:58:21 +02:00
2026-10-15 11:15:06 +02:00
2026-08-22 13:23:48 +02:00
2026-10-15 11:15:06 +02:00
2026-09-27 09:59:34 +02:00
2026-08-06 04:59:25 +02:00
2026-10-15 15:06:02 +02:00
2026-10-11 15:17:43 +02:00
2026-10-09 13:43:28 +02:00
2026-09-26 19:54:38 +02:00
2026-10-01 09:59:57 +02:00
2026-10-15 11:01:16 +02:00
2026-10-03 21:13:45 +02:00
2026-10-11 13:56:28 +02:00
2026-09-26 22:07:11 +02:00
2026-10-09 15:02:14 +02:00
2026-09-30 22:21:46 +02:00
2026-10-04 10:42:59 +02:00
2026-10-08 22:37:57 +02:00
2026-10-09 10:44:18 +02:00
2026-10-15 11:15:06 +02:00
2026-10-15 11:01:16 +02:00
2026-10-08 09:28:56 +02:00