fix: unify day boundaries on device-local time, JSON import preview parity

- Limits/streaks/greeting now use device-local days (was hardcoded Europe/London),
  matching dashboard metrics; label copy updated
- JSON imports now go through the same preview/duplicate-detection modal as Excel
This commit is contained in:
nh9961
2026-07-19 21:12:02 +00:00
parent 9e8f3c55d6
commit 767967f25d
7 changed files with 52 additions and 49 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ export function SettingsView({
return (
<div className="grid gap-4 xl:grid-cols-[1fr_0.8fr]">
<div className="grid content-start gap-4">
<AppCard title="Limits" subtitle="Personal caps for cans, spend, and stop time (BST)">
<AppCard title="Limits" subtitle="Personal caps for cans, spend, and stop time (local time)">
<LimitsSettingsForm
limits={userLimits}
check={limitCheck}