-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
So, I pick date for example 15.05.2015, but in controller I got 14.05.2015.
some code:
->add('date', 'collot_datetime', array( 'pickerOptions' =>
array('format' => 'dd.mm.yyyy',
'startDate' => '+0d',
'endDate' => '+100d',
'autoclose' => true,
'language' => 'ru',
'minView' => 'month',
'maxView' => 'month',
'weekStart' => 1,
),
'attr' => array('class' => 'form-control', 'autocomplete' => "off", 'readonly' => 'readonly'),
'data' => new \DateTime()
)
);My timezone is 'Europe/Moscow'.
Any ideas?
Thank you.
Metadata
Metadata
Assignees
Labels
No labels