title: Rails: Datimepicker always empty on field
body: <p>I am using datimepicker (from: <a href="http://trentrichardson.com/examples/timepicker/" rel="nofollow">http://trentrichardson.com/examples/timepicker/</a>) however I cannot save the picket date-time combo to the database. It is ignoring values and always saving it as empty.</p>
  
  <p>I have this on my Application.js file</p>
  
  <pre><code>ok    $("#child_dob").datepicker({changeMonth: true, changeYear: true, dateFormat: "dd-mm-yy", altFormat: 'yy-mm-dd' });
  
  notOk $("#announcement_date").datetimepicker({ampm: true, altFormat: 'yy-mm-dd hh:mm:ss', dateFormat: "mm-dd-yy", timeFormat: 'hh:mm tt'});
  </code></pre>
  
  <p>So the child model on dob field works because it is just the datepicker, however, the announcement model on date with datetimepicker will only save empty. I played around with different "altFormat" and date/time format but without success. I know this can be done as I have used it before but am not sure went wrong now. Any guidance will be greatly appreciated. </p>
  
  <p>Thank you.</p>
  
  <p>Env:
  Rails 3.1
  JQuery 1.6.2
  JQueryUI 1.8.16
  OS: Lion</p>