title: PhoneGap 2.0 (Cordova) DatePicker PlugIn 'mode'-Property to get Date AND Time
body: <p>Today I started creating my first (Android-)App with PhoneGap, using the <a href="https://github.com/phonegap/phonegap-plugins/tree/master/Android/DatePicker" rel="nofollow noreferrer">DatePicker-Plugin</a>. After some hours of investigation I've got it to work (thanks to <a href="https://stackoverflow.com/questions/11776905/datepicker-plugin-not-working-in-phonegap-2-0">datePicker plugin not working in Phonegap 2.0</a>) but not exactly I want:</p>
  
  <p>I have an input with <code>class="nativedatepicker" (date)</code> (selector for the jQuery click-event) and one with <code>class="nativetimepicker" (time)</code> so I can choose in the first input the date and in the second the time.</p>
  
  <p>Is it possible to merge this to one input where I can choose date and time in one step? I think I can do this somewhere here (some JS out of the PlugIn):</p>
  
  <pre><code>window.datePicker.show({
      date : myNewDate,
      mode : 'date', // date or time or blank for both
      allowOldDates : true
  }
  </code></pre>
  
  <p>but when I leave the <code>mode</code> blank it throws an error.</p>
  
  <p>Thanks for your help!</p>