fix(checkups): say "overdue since yesterday" instead of "overdue by 1 days"

The due phrase on the check-up card and the checkups page counted a
check-up one day past its date as "Overdue by 1 days", and the same
counted form read wrongly in German. One day over now has its own
phrase in all seven languages. Both overdue phrases keep the warning
colour through a shared `isOverdueDue` helper, so a surface no longer
compares against a single key.
This commit is contained in:
Marc-André Bombeck committed 2026-09-26 10:01:04 +02:00
1 parent 5fb5145d7a
commit f5bab3258a
12 files changed
+60 -9

No files matched your search

@@ -52,6 +52,7 @@ const MINTED_ONLY_BY_THE_BUCKET = [
"measurementReminders.nextDue.tomorrow",
"measurementReminders.nextDue.inDays",
"measurementReminders.nextDue.none",
"measurementReminders.overdueSinceYesterday",
];
/** The hook that yields the zone the surrounding dates are printed in. */