diff --git a/src/Form/Type/PasteForm.php b/src/Form/Type/PasteForm.php index 8485aef..e1481ce 100644 --- a/src/Form/Type/PasteForm.php +++ b/src/Form/Type/PasteForm.php @@ -33,7 +33,7 @@ class PasteForm extends AbstractType ->add('expirationDate', DateTimeType::class, [ 'required' => false, 'date_widget' => 'single_text', - 'input' => 'datetime', + 'input' => 'datetime_immutable', ] ) ->add('private', CheckboxType::class, ['required' => false])