title: html5 datetime-local not showing up value on update form
body: <p>I have an update form with <code>html5</code> elements to update a row of data from table. All the elements are showing the current corresponding data in table except the <code>datetime-local</code> <code>input</code> element. Even the <code>date</code>, <code>week</code> and <code>month</code> element are working. </p>
  
  <p>The data for that field is saved in database in a column with <code>datetime</code> type. This is a sample of data stored in that column. </p>
  
  <blockquote>
    <p>2014-05-15 12:58:00</p>
  </blockquote>
  
  <p>How can I make the <code>datetime-local</code> <code>input</code> element to show the current value on database. Do I have to format this value in some other way for that ( like <code>d/m/Y H:i a</code> or something)</p>
  
  <p>Here is the code for that element</p>
  
  <pre><code>$html_form .= "&lt;tr&gt;&lt;td class='form_left'&gt;".$label." : &lt;/td&gt;&lt;td class='form_right'&gt;&lt;input type='datetime-local' name='birth_day' id='birth_day' value='".$row_data['birth_day']."' /&gt; &lt;/td&gt;&lt;/tr&gt;";
  </code></pre>
  
  <p>Need to solve this issue as fast as possible. I am stuck with it right now.</p>
  
  <p>Please help me find a solution. I can't finish my current project without fixing it.</p>