diff --git a/src/View/Components/Calendar.php b/src/View/Components/Calendar.php index 37ddbcc7..5ae04624 100644 --- a/src/View/Components/Calendar.php +++ b/src/View/Components/Calendar.php @@ -16,6 +16,7 @@ public function __construct( public ?int $months = 1, public ?string $locale = 'en-EN', public ?bool $weekendHighlight = false, + public ?bool $sundayStart = false, public ?array $config = [], public ?array $events = [], ) { @@ -38,6 +39,7 @@ public function setup(): string 'selection' => [ 'day' => false, ], + 'iso8601' => !$this->sundayStart, ], 'CSSClasses' => 'y', 'actions' => 'x',