pub fn reanchor_intervals_on_resume(t: &mut BreakTimers, now: Instant)Expand description
Re-anchor the interval clocks when the scheduler resumes from a pause
(timed-pause expiry or a manual “Resume”). Paused time must not count
toward break intervals: without this, an hour-long pause leaves
last_micro / last_long an hour in the past, so the very next tick
sees every interval already overdue — the tray reads 0:00 and a
break fires the instant the user resumes (#134).
Re-anchoring to the resume now restarts each interval from a full
period and suppresses the spurious immediate fire. It deliberately
leaves last_sleep and the fixed-time dedupe keys alone, so bedtime
re-prompt cadence and fixed-time schedules keep their own clocks: a
fixed-time break legitimately due at the resume minute still fires via
its own date/minute path.