Merge branch 'master' into dist/envole/6/master

This commit is contained in:
Arnaud Fornerot 2022-02-04 13:34:04 +01:00
commit cbae74f041
1 changed files with 2 additions and 3 deletions

View File

@ -118,14 +118,13 @@ class AlertType extends AbstractType
->add('publishedat', DateType::class, [
'label' => 'Publier du',
'input' => 'datetime',
"widget" => 'single_text',
])
->add('unpublishedat', DateType::class, [
'label' => 'Jusqu\'au',
'input' => 'datetime',
'required' => false,
'years' => range(date('Y'), date('Y')+10)
"widget" => 'single_text',
]);