Repository navigation
Conversation
* using system locale for date/times
|
@CodiumAI-Agent /review |
PR Reviewer Guide 🔍(Review updated until commit c9cc12b)Here are some key observations to aid the review process:
|
|
@MomdAli I was using it the last weeks and I did not notice issues - only annoying thing is the calendar view that sunday is the first day of the week. can this be changed / also localized somehow? |
|
Persistent review updated to latest commit c9cc12b |
|
|
||
| datePicker.setOnShowing(e-> Locale.setDefault(Locale.Category.FORMAT, systemLocale)); | ||
| datePicker.setOnHiding(e-> Locale.setDefault(Locale.Category.FORMAT, Locale.getDefault())); | ||
| datePicker.setOnAction(e-> Locale.setDefault(Locale.Category.FORMAT, Locale.getDefault())); |
|
Implemented via #191 |

Locale management and formatting improvements:
setSystemLocale,getSystemLocale, andapplySystemLocaleOnDatemethods to theDateFormatterutility class, allowing centralized management of the application's locale and consistent formatting of dates inDatePickercomponents. (DateFormatter.java) [1] [2]DateFormatter, and the default locale is explicitly set to English to ensure predictable behavior. (App.java) [1] [2]