diff options
author | Trent Richardson <trentrichardson@users.noreply.github.com> | 2014-02-19 14:07:08 -0500 |
---|---|---|
committer | Trent Richardson <trentrichardson@users.noreply.github.com> | 2014-02-19 14:07:08 -0500 |
commit | d001df85bfc56d7af58f9dda9166968210a40a19 (patch) | |
tree | a1c120c5b0683615ca172877ad6b4443a4606ae7 /src/docs | |
parent | 8cda2ddd84203cc4995d569ce42ea6f1b94b1f2e (diff) | |
parent | 6e463ea22c1211bd9059c02dc380d58ea61f90b7 (diff) | |
download | jQuery-Timepicker-Addon-d001df85bfc56d7af58f9dda9166968210a40a19.zip jQuery-Timepicker-Addon-d001df85bfc56d7af58f9dda9166968210a40a19.tar.gz jQuery-Timepicker-Addon-d001df85bfc56d7af58f9dda9166968210a40a19.tar.bz2 |
Merge pull request #692 from bodrick/dev
Added new options to specify minTime and maxTime
Diffstat (limited to 'src/docs')
-rw-r--r-- | src/docs/options.html | 6 |
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>{ |