Skip to content

Commit

Permalink
Merge 524707b into bedb0ea
Browse files Browse the repository at this point in the history
  • Loading branch information
spaze committed Mar 30, 2024
2 parents bedb0ea + 524707b commit 20823d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Forms/Controls/DateTimeControl.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class DateTimeControl extends BaseControl
private string $format = self::FormatObject;


public function __construct(string|Stringable|null $label = null, int $type = self::Date, bool $withSeconds = false)
public function __construct(string|Stringable|null $label = null, int $type = self::TypeDate, bool $withSeconds = false)
{
$this->type = $type;
$this->withSeconds = $withSeconds;
Expand Down

0 comments on commit 20823d8

Please sign in to comment.