QuantumPhysique/trale

Use first day of the week from system settings instead of locale

Opened this issue · 1 comments

In the system settings of my phone, it is set that the first day of the week is Monday
Accordingly, all applications are based on this
In this application, the first day in the calendar is Sunday

Screenshot_20240315-070749

This is annoying :/ I guess the reason is that you are using the English localization which sets Sunday as start of the week, see this issue flutter/flutter#30051

There is a package which allows to get the users setting.
https://pub.dev/packages/locale_plus
But I guess it should be sufficient to set the correct locale, so, e.g. en_GB instead of en.