Skip to content

Commit c0908d6

Browse files
Some documentation updates
1 parent fe455ff commit c0908d6

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

index.html

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
pre{ padding: 20px; background-color: #ffffcc; border: solid 1px #fff; }
2020
.wrapper{ background-color: #ffffff; width: 800px; border: solid 1px #eeeeee; padding: 20px; margin: 0 auto; }
2121
.example-container{ background-color: #f4f4f4; border-bottom: solid 2px #777777; margin: 0 0 40px 0; padding: 20px; }
22-
.example-container p{ font-weight: bold; }
22+
.example-container p{ }
2323
.example-container > dl dt{ font-weight: bold; height: 20px; }
2424
.example-container > dl dd{ margin: -20px 0 10px 140px; border-bottom: solid 1px #fff; }
2525
.example-container input{ width: 150px; }
@@ -139,7 +139,7 @@ <h2>Some Examples</h2>
139139
<dt>T</dt><dd>A or P for AM/PM</dd>
140140
<dt>tt</dt><dd>am or pm for AM/PM</dd>
141141
<dt>TT</dt><dd>AM or PM for AM/PM</dd>
142-
<dt>z</dt><dd>Timezone</dd>
142+
<dt>z</dt><dd>Timezone (as defined by <a href="#example15a" title="timezoneList">timezoneList</a>)</dd>
143143
</dl>
144144
<p>Also related to your timeFormat, but not required, is the separator option</p>
145145
<dl>
@@ -316,18 +316,24 @@ <h2>Some Examples</h2>
316316
};
317317
$.datepicker.setDefaults($.datepicker.regional['ru']);
318318

319+
319320
$.timepicker.regional['ru'] = {
320321
timeOnlyTitle: 'Выберите время',
321322
timeText: 'Время',
322323
hourText: 'Часы',
323324
minuteText: 'Минуты',
324325
secondText: 'Секунды',
325-
millisecText: 'миллисекунды',
326-
currentText: 'Теперь',
326+
millisecText: 'Миллисекунды',
327+
timezoneText: 'Часовой пояс',
328+
currentText: 'Сейчас',
327329
closeText: 'Закрыть',
330+
timeFormat: 'hh:mm tt',
331+
amNames: ['AM', 'A'],
332+
pmNames: ['PM', 'P'],
328333
ampm: false
329334
};
330335
$.timepicker.setDefaults($.timepicker.regional['ru']);
336+
331337
</pre>
332338

333339
</div>
@@ -479,7 +485,7 @@ <h2>Some Examples</h2>
479485
<div class="example-container">
480486
<p>Connect to the onSelect event (Use your browser's js console for this example).</p>
481487
<div>
482-
<input type="text" name="example16" id="example15" value="" />
488+
<input type="text" name="example16" id="example16" value="" />
483489
</div>
484490

485491
<pre>
@@ -582,7 +588,7 @@ <h2>Some Examples</h2>
582588
<h2>Version</h2>
583589
<p>Version 1.0.2</p>
584590

585-
<p>Last updated on 07/01/2012</p>
591+
<p>Last updated on 09/8/2012</p>
586592
<p>jQuery Timepicker Addon is currently available for use in all personal or commercial projects under both MIT and GPL licenses. This means that you can choose the license that best suits your project, and use it accordingly. </p>
587593
<p><a href="http://trentrichardson.com/Impromptu/GPL-LICENSE.txt" title="GPL License">GPL License</a></p>
588594
<p><a href="http://trentrichardson.com/Impromptu/MIT-LICENSE.txt" title="MIT License">MIT License</a></p>

0 commit comments

Comments
 (0)