mirror of
https://github.com/storytold/pdfcraft.git
synced 2026-11-24 19:31:51 +01:00
Date field calendar starts its weeks on Sunday as production (L-301)
This commit is contained in:
1 parent
4d7d39660d
commit
a2d8ea28ab
1 file changed
+1
@@ -23,6 +23,7 @@ pub(super) fn calendar(ui: &mut egui::Ui, rect: Rect, text: &str, fmt: &str, tod
|
||||
let today = PickedDate::day(i32::try_from(today.0).unwrap_or(1970), u8::try_from(today.1).unwrap_or(1), u8::try_from(today.2).unwrap_or(1));
|
||||
CalendarPopover::new("Calendar", Bind::bound(&mut *open), Bind::bound(&mut picked))
|
||||
.precisions(&[DatePrecision::Day])
|
||||
.first_weekday(craft::i18n::Weekday::Sunday)
|
||||
.today(today)
|
||||
.overlay(|overlay| {
|
||||
overlay
|
||||
|
||||
Reference in new issue
Block a user