Closed javier-godoy closed 2 months ago
As discussed in https://github.com/vaadin/flow-components/issues/6353#issuecomment-2175966174, the result of DateFormatSymbols.getWeekdays and DateFormatSymbols.getShortWeekdays returns 8 items instead of 7.
DateFormatSymbols.getWeekdays
DateFormatSymbols.getShortWeekdays
For example: System.out.println(String.join(",", dfs.getWeekdays())); System.out.println(String.join(",", dfs.getShortWeekdays())); Prints: ,Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday ,Sun,Mon,Tue,Wed,Thu,Fri,Sat
For example:
System.out.println(String.join(",", dfs.getWeekdays())); System.out.println(String.join(",", dfs.getShortWeekdays()));
Prints:
,Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday ,Sun,Mon,Tue,Wed,Thu,Fri,Sat
Fixes #329
Feature
Apparently my review wasn't good enough. @Artur- do your thing
Description
As discussed in https://github.com/vaadin/flow-components/issues/6353#issuecomment-2175966174, the result of
DateFormatSymbols.getWeekdays
andDateFormatSymbols.getShortWeekdays
returns 8 items instead of 7.Fixes #329
Type of change
Checklist
Additional for
Feature
type of change