summaryrefslogtreecommitdiffstats
path: root/src/docs/options.html
diff options
context:
space:
mode:
authorbodrick <cmotch@gmail.com>2014-02-12 15:05:48 -0500
committerbodrick <cmotch@gmail.com>2014-02-12 15:05:48 -0500
commit6e463ea22c1211bd9059c02dc380d58ea61f90b7 (patch)
treea1c120c5b0683615ca172877ad6b4443a4606ae7 /src/docs/options.html
parent8cda2ddd84203cc4995d569ce42ea6f1b94b1f2e (diff)
downloadjQuery-Timepicker-Addon-6e463ea22c1211bd9059c02dc380d58ea61f90b7.zip
jQuery-Timepicker-Addon-6e463ea22c1211bd9059c02dc380d58ea61f90b7.tar.gz
jQuery-Timepicker-Addon-6e463ea22c1211bd9059c02dc380d58ea61f90b7.tar.bz2
Added new options to specify minTime and maxTime
Added two new options so that minimum time and maximum time can be specified when selecting times. Very much different than the minDate/maxDate in that the time is restricted each day to the values specified.
Diffstat (limited to 'src/docs/options.html')
-rw-r--r--src/docs/options.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/docs/options.html b/src/docs/options.html
index 4c62358..941028d 100644
--- a/src/docs/options.html
+++ b/src/docs/options.html
@@ -236,6 +236,12 @@
<dt>maxDateTime</dt>
<dd><em>Default: null</em> - Date object of the maximum datetime allowed. Also Available as maxDate.</dd>
+ <dt>minTime</dt>
+ <dd><em>Default: null</em> - String of the minimum time allowed. '8:00 am' will restrict to times after 8am</dd>
+
+ <dt>maxTime</dt>
+ <dd><em>Default: null</em> - String of the maximum time allowed. '8:00 pm' will restrict to times before 8pm</dd>
+
<dt>parse</dt>
<dd><em>Default: 'strict'</em> - How to parse the time string. Two methods are provided: 'strict' which must match the timeFormat exactly, and 'loose' which uses javascript's new Date(timeString) to guess the time. You may also pass in a function(timeFormat, timeString, options) to handle the parsing yourself, returning a simple object:
<pre>{