apptreesoftware/flutter_calendar

Start week with Monday instead of Sunday

Sadoge opened this issue · 4 comments

This is more like a question, since I need to be able to display the first day of the week as a Monday instead of Sunday, and then the last day of the week will become Sunday. Is there a way to do this at the moment? Or does this need adjustments

It seems there is not a solution yet. In my case, I solved it making some little changes on date_utils and flutter_calendar. You can take a look to my particular solution in https://github.com/pellicer192/flutter_calendar

@pellicer192 Thanks will have a look and make some local changes!

@pellicer192 I just run your example and when you click on a day Sunday's number disappears. Also when you try to slide over or press the button to move to the following week this error is shown:
flutter: Another exception was thrown: RangeError (end): Invalid value: Not in range 0..6, inclusive: 7

@pellicer192 I just run your example and when you click on a day Sunday's number disappears. Also when you try to slide over or press the button to move to the following week this error is shown:
flutter: Another exception was thrown: RangeError (end): Invalid value: Not in range 0..6, inclusive: 7

same for me