summaryrefslogtreecommitdiffstats
path: root/src/docs/examples.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/docs/examples.html')
-rw-r--r--src/docs/examples.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/docs/examples.html b/src/docs/examples.html
index 77dd2ef..587b0f1 100644
--- a/src/docs/examples.html
+++ b/src/docs/examples.html
@@ -51,6 +51,20 @@ $('#basic_example_3').datetimepicker({
</pre>
</div>
+
+ <!-- ============= example -->
+ <div class="example-container">
+ <p>Timepicker comes with a collection of localization files and one combined file with all available localizations. $.timepicker.regional["your localization code here"] is a simple object with preset options:</p>
+ <div>
+ <input type="text" name="basic_example_4" id="basic_example_4" value="" />
+ </div>
+<pre>
+$('#basic_example_4').timepicker(
+ $.timepicker.regional['es']
+);
+</pre>
+ </div>
+
<h3 id="timezone_examples">Using Timezones</h3>
<!-- ============= example -->