Skip to content

Commit

Permalink
Add docs for hour.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Jan 26, 2014
1 parent 69fc3b2 commit 9ddc70b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/View/Input/DateTime.php
Expand Up @@ -96,8 +96,15 @@ public function __construct($templates, $selectBox) {
* The `month` option accepts the `name` option which allows you to get month
* names instead of month numbers.
*
* The `hour` option allows you to set the `format` option which accepts
* 12 or 24, allowing you to indicate which hour format you want.
* The `hour` option allows you to set the following options:
*
* - `format` option which accepts 12 or 24, allowing
* you to indicate which hour format you want.
* - `start` The hour to start the options at.
* - `end` The hour to stop the options at.
*
* The start and end options are dependent on the format used. If the
* value is out of the start/end range it will not be included.
*
* The `minute` option allows you to define the following options:
*
Expand Down

0 comments on commit 9ddc70b

Please sign in to comment.