A list of years had to end somewhere. The year is now a whole number
(0 is 1 BC) found by jumping through the calendar in use, so thousands of
years back or ahead are one entry away, up to the range a date holds.
Thanks to brlin-tw and xet7 !
Fixes#6853,
The heading above the calendar shows the month and year only, not the
YYYY-MM-DD of the selected day. Under the calendar, year, month and day
drop-downs pick any past, present or future date, in every calendar
system.
Thanks to brlin-tw and xet7 !
Fixes#6853,
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,
The ring drawn in the day button's own text colour was hard to see on themes
whose day buttons are already a strong colour, such as wisteria's purple.
Today now has its own fill, green with white text, forced over every theme
(the custom theme colour sets the buttons' background with !important), with
a white inset ring and the underline kept for colour-blind users. A day that
is both today and selected keeps a visible green outline.
Thanks to mimZD and xet7 !
Fixes#6751.
The due/start/end date popup's calendar now gives today's day button the
is-today class and aria-current="date", and its cell is-today-cell. Today
gets a ring and underline in the button's own text colour plus a subtle cell
tint, so it stays visible in every board colour theme, light and dark, and
in RTL. The board Calendar view keeps FullCalendar's today tint and also
marks today's day number with the board theme's colour.
Thanks to mimZD and xet7 !
Fixes#6751,
Keep the selected calendar grid visible on opening and after selecting a day, including for Gregorian dates. Stack popup fields, size day buttons within their cells and show only hour/minute dropdowns while retaining the hidden combined value for existing save handlers. Update documentation and popup regressions.
Thanks to xet7 !
Apply the selected calendar to shared date displays, calendar month views and date inputs. Provide mouse and keyboard date navigation and hour/minute selection while preserving native date storage. Document the supported offline calendars and add display, picker and browser regressions.
Thanks to mimZD and xet7 !