diff --git a/src/Form/ImageSliderType.php b/src/Form/ImageSliderType.php index dfdbd16..7621f53 100644 --- a/src/Form/ImageSliderType.php +++ b/src/Form/ImageSliderType.php @@ -134,6 +134,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void 'widget' => 'single_text', 'html5' => true, 'input' => 'datetime', + 'with_seconds' => true, ]) ->add('display_to', DateTimeType::class, [ 'label' => $this->trans('Display to', TranslationDomains::TRANSLATION_DOMAIN_ADMIN), @@ -141,6 +142,7 @@ public function buildForm(FormBuilderInterface $builder, array $options): void 'widget' => 'single_text', 'html5' => true, 'input' => 'datetime', + 'with_seconds' => true, ]); if ($this->isMultistoreUsed) {