title: Cakephp input dateFormat
body: <p>I am using CakePHP 2.6.x to create a simple input for type date:- </p>
  
  <pre><code>echo $this-&gt;Form-&gt;input('datetest', array(
      'label' =&gt; false, 
      'type' =&gt; 'datetime',
      'dateFormat' =&gt; 'YMD', 
      'minYear' =&gt; date('Y') - 70, 
      'maxYear' =&gt; date('Y') + 10, 
      'selected' =&gt; '2012-02-23')
  );
  </code></pre>
  
  <p>This input returns the date in the format <code>dd.mm.yyyy hh:ii</code>:-</p>
  
  <pre><code>&lt;div class="input datetime"&gt;
    &lt;input id="ArticleDatetest" class="datetime" type="text" value="23.02.2012 00:00" autocomplete="off" maxyear="2025" minyear="1945" name="data[Article][datetest]"&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The expected date format is <code>yyyy-mm-dd hh:ii</code>. What I am doing wrong?</p>