title: Yii2: Correct Way to use Jui DatePicker
body: <p>My Jui Date Time Picker was working perfectly, I am not sure if I have made any changes in config anywhere, but now the date-picker field is showing the format as if it is asking for time with the date.</p>
  
  <p>This is my code for the date field:</p>
  
  <pre><code>&lt;?= $form-&gt;field($model, 'joining_date')-&gt;widget(DatePicker::className(),
                      ['clientOptions' =&gt;[
                          'dateFormat' =&gt; 'dd-mm-yyyy',
                          'showAnim'=&gt;'fold',
                          'changeMonth'=&gt; true,
                          'changeYear'=&gt; true,
                          'autoSize'=&gt;true,
                           'showOn'=&gt; "button",
                           'buttonImage'=&gt; "images/calendar.gif",
                          'htmlOptions'=&gt;[
                          'style'=&gt;'width:80px;',
                          'font-weight'=&gt;'x-small',
                          ],]]) ?&gt; 
  </code></pre>
  
  <p>in my Web.php config the relevant code for dates is like</p>
  
  <pre><code>'formatter' =&gt; [
          'defaultTimeZone' =&gt; 'UTC',
          'timeZone' =&gt; 'Asia/Kolkata',
          'dateFormat' =&gt; 'php:d-m-Y',
          'datetimeFormat'=&gt;'php:d-M-Y H:i:s'
          ],
  </code></pre>
  
  <p>Now I am trying to enter the date I am getting the field like 12/07/2014:
  and colon after the field as if I need to add the time part, where from it is coming, I couldn't find.</p>
  
  <p><a href="http://i.stack.imgur.com/ZrwxM.jpg" rel="noreferrer">date-picker</a></p>