From 6640112c54c2ea198a4a09727742dbef86e9f4cf Mon Sep 17 00:00:00 2001 From: mitsuha_s Date: Fri, 21 Jul 2023 23:09:10 +0300 Subject: [PATCH] bug fix --- src/Form/Type/PasteForm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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])