Permalink
Browse files

Add docs for hour.

  • Loading branch information...
1 parent 69fc3b2 commit 9ddc70bfcdeff3b339aba4a821733cf8c24a8f4e @markstory markstory committed Jan 26, 2014
Showing with 9 additions and 2 deletions.
  1. +9 −2 src/View/Input/DateTime.php
@@ -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:
*

0 comments on commit 9ddc70b

Please sign in to comment.