summaryrefslogtreecommitdiffstats
path: root/index.html
diff options
context:
space:
mode:
authorTrent Richardson <trentdrichardson@gmail.com>2012-10-25 09:58:22 -0400
committerTrent Richardson <trentdrichardson@gmail.com>2012-10-25 09:58:22 -0400
commit2b527256efca08b08044c92f3c33d2f03be114d0 (patch)
tree1c8b31a6e3612cba51d06cff9d9e57302673522b /index.html
parent4ee9097e99b053668377717a0a8f15844db04eae (diff)
downloadjQuery-Timepicker-Addon-2b527256efca08b08044c92f3c33d2f03be114d0.zip
jQuery-Timepicker-Addon-2b527256efca08b08044c92f3c33d2f03be114d0.tar.gz
jQuery-Timepicker-Addon-2b527256efca08b08044c92f3c33d2f03be114d0.tar.bz2
Fix ampm bug in formatTime
Diffstat (limited to 'index.html')
-rw-r--r--index.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/index.html b/index.html
index 9386f98..38f10aa 100644
--- a/index.html
+++ b/index.html
@@ -365,8 +365,10 @@
<p>The default format is "hh:mm tt", however ampm is turned off by default, so you will see "hh:mm"</p>
<dl class="defs">
- <dt>h</dt><dd>Hour with no leading 0</dd>
- <dt>hh</dt><dd>Hour with leading 0</dd>
+ <dt>H</dt><dd>Hour with no leading 0 (24 hour)</dd>
+ <dt>HH</dt><dd>Hour with leading 0 (24 hour)</dd>
+ <dt>h</dt><dd>Hour with no leading 0 (12 hour)</dd>
+ <dt>hh</dt><dd>Hour with leading 0 (12 hour)</dd>
<dt>m</dt><dd>Minute with no leading 0</dd>
<dt>mm</dt><dd>Minute with leading 0</dd>
<dt>s</dt><dd>Second with no leading 0</dd>
@@ -507,8 +509,8 @@ $('#basic_example_2').timepicker();
<pre>
$('#basic_example_3').datetimepicker({
timeFormat: "h:m t",
- pickerTimeFormat: "HH:mm",
- ampm: true
+ pickerTimeFormat: "HH:mm"//,
+ //ampm: true
});
</pre>
</div>