Date Picker Problem after update

I have updated to release 2.0.3. Now my date field with Yii\jui\date-picker is having a time part and am unable to save the dates.

my code is like this:

<?= $form->field($model, 'leaving_date')->widget(DatePicker::className(),

                    ['clientOptions' =>[

                        'dateFormat' => 'dd-mm-yyyy',


                        'changeMonth'=> true,

                        'changeYear'=> true,


                         'showOn'=> "button",

                         'buttonImage'=> "images/calendar.gif",




                        ],]]) ?> 

and in my config in web.php the setting are like this:

'formatter' => [

            'class' => 'yii\i18n\Formatter',

            'dateFormat' => 'php:d-M-Y',

            'datetimeFormat' => 'd-M-Y H:i:s',

            'timeFormat' => 'H:i:s',


use this in web.php

'formatter' => [

		'dateFormat' => 'dd-MM-yyyy',

		'datetimeFormat' => 'php:d-m-Y H:i:s',

		'timeFormat' => 'php:H:i:s',

		'class' => 'yii\i18n\Formatter',