You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am using org.dominokit.domino.ui.datepicker.Calendar from DominoUI v2 (HEAD-SNAPSHOT).
It detects my locale automatically which is German.
In Germany (and Austria), the first day of the week is Monday (unlike in the US, where it is Sunday).
The calendar renders correctly with Monday being the first column. But Monday is marked as a weekend, where Saturday is not.
See screenshot attached.
The CSS class dui-mark-weekend-day is added with your plugin from https://github.com/DominoKit/domino-ui/issues/946
The main problem is likely located in CalendarDay::isWeekend. I do not really understand the code there, so I cannot post a fix, sorry.
Thank you!
The text was updated successfully, but these errors were encountered:
Describe the bug
I am using
org.dominokit.domino.ui.datepicker.Calendar
from DominoUI v2 (HEAD-SNAPSHOT).It detects my locale automatically which is German.
In Germany (and Austria), the first day of the week is Monday (unlike in the US, where it is Sunday).
The calendar renders correctly with Monday being the first column. But Monday is marked as a weekend, where Saturday is not.
See screenshot attached.
The CSS class
dui-mark-weekend-day
is added with your plugin from https://github.com/DominoKit/domino-ui/issues/946The main problem is likely located in
CalendarDay::isWeekend
. I do not really understand the code there, so I cannot post a fix, sorry.Thank you!
The text was updated successfully, but these errors were encountered: