Closed dmitry-kotorov closed 2 years ago
Thanks for the PR! I have a couple notes.
There seem to be quite a few formatting changes, make sure to do
dart format .
when you're done.Secondly, Is Sunday the only alternative start day of a week? wouldn't it be better to just use an input parameter like
int weekStartDay = Weekday.monday
, so users can start the week at any day they want?
As far as I know Sunday is the only option. I have an app that is localized in 53 languages and used in 100+ countries and I have never received requests from users for any other options) I also googled and didn't find any other options in the world.
available in 1.1.3
Not sure it is the best way to do that (may be better is to migrate to something like TZData), but works for me.