j'ai un probléme pour l'affichage d'une date voici mon formBuilder:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
 
 $formBuilder
        ->add('name','text')
        ->add('adress',   'text')
        ->add('tel1', 'text')
        ->add('tel2',  'text')
        ->add('fax',  'text')
        ->add('email',  'text')
        ->add('matriculeFiscale',  'text')
        ->add('registreCommerce',  'text')
        ->add('managerName',  'text')
        ->add('managerTel',  'text')
        ->add('managerEmail',  'text')
        ->add('loginProvider',  'text')
        ->add('passwordProvider',  'text')
        ->add('login',  'text')
        ->add('password',  'text')
        ->add('ipAutorized',  'text')     
        ->add('dateCreation',  'date');
voila le template twig:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
 
<form method="post" {{ form_enctype(form) }}>
 
    {{ form_widget(form.name) }}
    {{ form_widget(form.adress) }}
    {{ form_widget(form.tel1) }}
    {{ form_widget(form.tel2) }}
    {{ form_widget(form.fax) }}
    {{ form_widget(form.email) }}
    {{ form_widget(form.matriculeFiscale) }}
    {{ form_widget(form.registreCommerce) }}
    {{ form_widget(form.managerName) }}
    {{ form_widget(form.managerTel) }}
    {{ form_widget(form.managerEmail) }}
    {{ form_widget(form.loginProvider) }}
    {{ form_widget(form.passwordProvider) }}
    {{ form_widget(form.login) }}
    {{ form_widget(form.password) }}
    {{ form_widget(form.ipAutorized) }}
    {{ form_widget(form.dateCreation) }}
 
	<input type="submit" />
</form>
voila l'erreur:
The Symfony\Component\Locale\Stub\StubIntlDateFormatter::setLenient() is not implemented. Please install the 'intl' extension for full localization capabilities.
Merci d'avance.