Marc-André Bombeck
a9c327401a
fix(insights): key readiness + mood-streak day buckets in user tz
...
The readiness same-day grouping and the mood-streak anchor/walk both
sliced the UTC instant for their day key, mis-bucketing a late-evening
reading for a logger east or west of UTC. Thread an optional tz (default
Europe/Berlin) through both paths and key the buckets via userDayKey so
the day boundary follows the user's wall clock. Centralise the inline
day-in-ms literal in a shared time-constants module and use it here.
2026-06-20 17:10:36 +02:00
..
2026-06-20 16:59:58 +02:00
2026-06-20 17:10:36 +02:00
2026-06-20 16:58:33 +02:00
2026-06-05 13:58:28 +02:00
2026-06-20 16:58:44 +02:00
2026-06-20 16:58:44 +02:00
2026-05-21 19:33:07 +02:00
2026-06-19 22:20:31 +02:00
2026-06-10 22:41:28 +02:00
2026-05-31 22:12:25 +02:00
2026-06-20 16:52:00 +02:00
2026-06-20 16:58:06 +02:00
2026-06-05 23:58:40 +02:00
2026-06-19 22:20:31 +02:00
2026-06-19 22:20:31 +02:00
2026-06-19 22:20:31 +02:00
2026-06-19 22:20:31 +02:00
2026-06-19 22:20:31 +02:00
2026-05-21 12:48:02 +02:00
2026-06-19 22:20:31 +02:00
2026-06-01 20:26:26 +02:00
2026-06-20 16:58:44 +02:00
2026-06-02 14:03:00 +02:00
2026-06-14 21:22:41 +02:00
2026-06-11 02:19:27 +02:00
2026-06-19 22:20:31 +02:00
2026-06-19 22:20:31 +02:00
2026-06-19 22:20:31 +02:00
2026-06-19 22:20:31 +02:00
2026-06-20 17:10:36 +02:00
2026-06-20 16:58:44 +02:00
2026-05-14 23:49:32 +02:00
2026-06-20 16:58:44 +02:00
2026-06-16 22:25:50 +02:00
2026-03-10 20:14:33 +01:00
2026-06-02 23:40:24 +02:00
2026-06-11 22:49:42 +02:00
2026-06-19 22:20:31 +02:00
2026-06-14 10:25:18 +02:00
2026-06-19 21:31:16 +02:00
2026-06-19 21:01:27 +02:00
2026-06-11 21:17:05 +02:00
2026-06-19 22:20:31 +02:00
2026-06-19 22:20:31 +02:00
2026-06-19 22:20:31 +02:00
2026-06-04 17:47:17 +02:00
2026-06-01 08:59:59 +02:00
2026-06-19 22:20:31 +02:00
2026-06-19 22:20:31 +02:00
2026-06-19 22:20:31 +02:00
2026-06-03 08:56:20 +02:00
2026-06-20 16:58:44 +02:00
2026-06-02 17:34:52 +02:00