File tree 2 files changed +20
-5
lines changed
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>
287
287
});
288
288
</ pre >
289
289
</ 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
+
291
305
<!-- ============= example -->
292
306
< div class ="example-container ">
293
307
< p > With inline mode using altField:</ p >
@@ -541,6 +555,4 @@ <h3 id="utility_examples">Utilities</h3>
541
555
$.datepicker.parseTime('HH:mm:ss:l z', "14:36:21:765 +2000", {})
542
556
));
543
557
</ 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>
202
202
< dl class ="defs ">
203
203
< dt > showButtonPanel</ dt >
204
204
< 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
+
206
209
< dt > timeOnly</ dt >
207
210
< dd > < em > Default: false</ em > - Hide the datepicker and only provide a time interface.</ dd >
208
211
You can’t perform that action at this time.
0 commit comments