Skip to content

Commit

Permalink
Fix deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet authored and OskarStark committed Jan 6, 2021
1 parent 4d681d8 commit 13297c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Type/DatePickerType.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public function configureOptions(OptionsResolver $resolver): void
$resolver->setDefaults(array_merge($this->getCommonDefaults(), [
'dp_pick_time' => false,
'format' => DateType::DEFAULT_FORMAT,
'html5' => false,
]));

parent::configureOptions($resolver);
Expand Down
1 change: 1 addition & 0 deletions src/Type/DateTimePickerType.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public function configureOptions(OptionsResolver $resolver): void
'dp_minute_stepping' => 1,
'format' => DateTimeType::DEFAULT_DATE_FORMAT,
'date_format' => null,
'html5' => false,
]));

parent::configureOptions($resolver);
Expand Down

0 comments on commit 13297c1

Please sign in to comment.