title: datepicker yii2 kartik wrong format
body: <p>I have a problem with the kartik datetime picker.</p>
  
  <p>The value that has to be entered gets scrambled in the input, following screenshot probably tells it all:</p>
  
  <p><img src="https://i.stack.imgur.com/d2OcR.png" alt="screenshot scrambled input"></p>
  
  <p>I simply followed the demo code:</p>
  
  <pre><code> &lt;?php
     use kartik\datetime\DateTimePicker;
     echo '&lt;label&gt;Start Date/Time&lt;/label&gt;';
  
     echo DateTimePicker::widget([
          'name' =&gt; 'startdatetime',
          'options' =&gt; ['placeholder' =&gt; 'Select operating time ...'],
          'convertFormat' =&gt; true,
          'pluginOptions' =&gt; [
              'format' =&gt; 'd-M-Y g:i A',
              'startDate' =&gt; '01-Mar-2014 12:00 AM',
              'todayHighlight' =&gt; true
           ]       
      ]);     
      ?&gt;
  </code></pre>