mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-10-18 21:16:47 +00:00
d984e09473
Calendar, fiscal (month + day) or from the hire date, per user — it sits with the plan settings but belongs to the person, so fused members each keep their own and the grid follows whoever is looking at it. Both grids render twelve months from the window start with year rollover instead of a fixed Jan–Dec, and the mobile month navigation moves through slots of that window, so stepping past December lands in January of the same period rather than jumping back to the start of the calendar year. The month effect keys on the window's shape rather than the settings object, which the store replaces with an equal copy on every refresh — otherwise any sync would throw away the month the user had open. Known edge for a start day past the 1st: the cards are month-aligned, so the first days of the start month are drawn but count toward the previous period. Counting stays day-exact.