mirror of
https://github.com/wekan/wekan.git
synced 2026-11-25 10:48:06 -05:00
The board Calendar view already has Today (and Calendar mode too), but the date picker of every date popup - Due, Start, End, Received and the rest - had only « ‹ › », so a user who paged to another month had to page back. Today, between the month and ›, shows today's month and focuses today; it changes nothing until a day is clicked and saved. Testing it found a picker bug that was already there: going back to a month drew it wrong - October came back as "29, empty, 30, empty", with no 31st. Blaze matches list items by _id, and the weeks and days had none; the empty cells, all alike, were moved around. Every week and cell, empty ones too, now has an _id that names its month. calendarPickerControls.test.cjs checks the ids, that Today shows today's month and focuses today, and that it selects nothing; the Playwright test pages two months ahead, presses Today, and checks every day of the month in order, today focused, and the card's due date unchanged. Thanks to mimZD and xet7 ! Fixes #6838,