diff --git a/datetimepicker.jquery.json b/datetimepicker.jquery.json index e8d5ac8..05757d2 100644 --- a/datetimepicker.jquery.json +++ b/datetimepicker.jquery.json @@ -11,7 +11,7 @@ "timepicker", "datetimepicker" ], - "version": "1.0.10", + "version": "1.1.0", "author": { "name": "Chupurnov Valeriy", "url": "http://xdsoft.net/contacts.html" diff --git a/doc.tpl b/doc.tpl index cca501f..3225f71 100644 --- a/doc.tpl +++ b/doc.tpl @@ -7,6 +7,8 @@ Use this plugin to unobtrusively add a datetimepicker, datepicker or timepicker parse('adsense5')?>
JavaScript
+$('#datetimepicker_mask').datetimepicker({
+ timepicker:false,
+ mask:true, // '9999/19/39 29:59' - digit is the maximum possible for a cell
+});
+Result
+ +mask | +false | +Use mask for input. true - automatically generates a mask on the field 'format', Digit from 0 to 9, set the highest possible digit for the value. For example: the first digit of hours can not be greater than 2, and the first digit of the minutes can not be greater than 5 | +
|
+
opened | false | diff --git a/index.html b/index.html index c34789e..f3930eb 100644 --- a/index.html +++ b/index.html @@ -7,6 +7,8 @@