File tree Expand file tree Collapse file tree 2 files changed +20
-5
lines changed
Expand file tree Collapse file tree 2 files changed +20
-5
lines changed Original file line number Diff line number Diff line change @@ -287,7 +287,21 @@ <h3 id="alt_examples">Alternate Fields</h3>
287287});
288288</ pre >
289289 </ div >
290-
290+ </ div >
291+ < h3 id ="input_examples "> Time Input</ h3 >
292+ <!-- ============= example -->
293+ < div class ="example-container ">
294+ < p > Allows for direct input of time string</ p >
295+ < div >
296+ < input type ="text " name ="input_example_1 " id ="input_example_1 " value ="08/20/2014 09:22 -0400 " />
297+ </ div >
298+ < pre >
299+ $('#input_example_1').datetimepicker(
300+ timeInput: true
301+ );
302+ </ pre >
303+ </ div >
304+
291305 <!-- ============= example -->
292306 < div class ="example-container ">
293307 < p > With inline mode using altField:</ p >
@@ -541,6 +555,4 @@ <h3 id="utility_examples">Utilities</h3>
541555 $.datepicker.parseTime('HH:mm:ss:l z', "14:36:21:765 +2000", {})
542556));
543557</ pre >
544- </ div >
545-
546- </ div >
558+ </ div >
Original file line number Diff line number Diff line change @@ -202,7 +202,10 @@ <h3>Other Options</h3>
202202 < dl class ="defs ">
203203 < dt > showButtonPanel</ dt >
204204 < dd > < em > Default: true</ em > - Whether to show the button panel at the bottom. This is generally needed.</ dd >
205-
205+
206+ < dt > timeInput</ dt >
207+ < dd > < em > Default: false</ em > - Allows direct input in time field</ dd >
208+
206209 < dt > timeOnly</ dt >
207210 < dd > < em > Default: false</ em > - Hide the datepicker and only provide a time interface.</ dd >
208211
You can’t perform that action at this time.
0 commit comments