mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
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.