Closed matteoberla closed 1 year ago
Sorry, I think it is due to daylight saving time. I will correct it.
is it possible to set the first day of the week showed in the calendar? Now it's Sunday by default but I would like to set Monday.
It is not supported at this time. I will respond if needed.
if you have time to do it, it would be useful to have a setter for the first day as i know that for different countries there are different standards.
Another thing that i noticed, is it possible to change the order of the years-months-days pickers? I know that for USA or UK is yyyy MM dd, but for example in italy we only use dd MM yyyy
Thanks for letting me know. I will support the selection of the day of the week for the start and change the order of the pickers.
@matteoberla In v1.3.0, in addition to the above bugs, the picker order has been swapped and the starting day of the week has been changed.
final result = await showBoardDateTimePicker(
context: context,
pickerType: DateTimePickerType.datetime,
options: const BoardDateTimeOptions(
languages: BoardPickerLanguages.it(),
startDayOfWeek: DateTime.monday, // <- start day of the week
pickerFormat: PickerFormat.dmy, // <- picker order
),
);
Thank you very much, I appreciate it a lot. Amazing job.
Thanks for using it! If you need anything else...
I'm leaving some images of the issues found: -I've noticed that today ( 30th October 2023 ), when I open the BoardDateTimePicker the active Day is 31st October, but "Today" tab is selected.
-If i select 30th October, both 30th and 29th are selected as shown, "Today" tab is selected too (which is correct).
-If i press "Tomorrow" tab, 1st November is selected (31st should be selected), and I can't navigate to the next page of the calendar as the arrow are disabled.
Not an issue but a question: is it possible to set the first day of the week showed in the calendar? Now it's Sunday by default but I would like to set Monday.
Values used and code: