From a837aa10400fc69272ae77fea7f4d9c1b0d70dbb Mon Sep 17 00:00:00 2001 From: Valeriy Chupurnov Date: Thu, 28 Nov 2013 01:44:17 +0600 Subject: [PATCH] new version 1.0.10 --- doc.tpl | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/doc.tpl b/doc.tpl index 49e3cc8..b474c58 100644 --- a/doc.tpl +++ b/doc.tpl @@ -21,14 +21,14 @@ $('#datetimepicker').datetimepicker({value:'2015/04/15 05:06'}); $('#datetimepicker1').datetimepicker({ datepicker:false, format:'H:i', - value:'12:00', + value:'12:00' }); $('#datetimepicker2').datetimepicker({ timepicker:false, - format:'d/m/Y', + format:'d/m/Y' }); $('#datetimepicker3').datetimepicker({ - inline:true, + inline:true }); }); @@ -66,7 +66,7 @@ $(function(){$('#_datetimepicker').datetimepicker();}); dayOfWeek:["So.", "Mo", "Di", "Mi", "Do", "Fr", "Sa.",], }}, timepicker:false, -format:'d.m.Y', +format:'d.m.Y' });

Result

@@ -75,11 +75,11 @@ $('#_datetimepicker1').datetimepicker({ lang:'de', i18n:{de:{ months:[ - 'Januar','Februar','Marz','April','Mai','Juni','Juli','August','September','Oktober','November','Dezember',], - dayOfWeek:["So.", "Mo", "Di", "Mi", "Do", "Fr", "Sa.",], + 'Januar','Februar','Marz','April','Mai','Juni','Juli','August','September','Oktober','November','Dezember'], + dayOfWeek:["So.", "Mo", "Di", "Mi", "Do", "Fr", "Sa."] }}, timepicker:false, -format:'d.m.Y', +format:'d.m.Y' }); }); @@ -87,14 +87,14 @@ format:'d.m.Y',

JavaScript

$('#datetimepicker2').datetimepicker({
 	datepicker:false,
-	format:'H:i',
+	format:'H:i'
 });

Result

@@ -103,7 +103,7 @@ $('#_datetimepicker2').datetimepicker({
$('#datetimepicker3').datetimepicker({
   format:'d.m.Y H:i',
   inline:true,
-  lang:'ru',
+  lang:'ru'
 });

Result

@@ -111,7 +111,7 @@ $('#_datetimepicker2').datetimepicker({ $('#_datetimepicker3').datetimepicker({ format:'d.m.Y H:i', inline:true, - lang:'en', + lang:'en' }); }); @@ -120,7 +120,7 @@ $('#_datetimepicker3').datetimepicker({

JavaScript

$('#datetimepicker4').datetimepicker({
   format:'d.m.Y H:i',
-  lang:'ru',
+  lang:'ru'
 });
and handler onclick event
$('#image_button').click(function(){
@@ -140,7 +140,7 @@ and handler onclick event
 
@@ -169,7 +169,7 @@ $('#_datetimepicker5').datetimepicker({
 	timepicker:false,
 	onChangeDateTime:function(dp,$input){
 		alert($input.val())
-	},
+	}
 });

Result

@@ -178,7 +178,7 @@ $('#_datetimepicker6').datetimepicker({ timepicker:false, onChangeDateTime:function(current_time,$input){ alert($input.val()) - }, + } }); }); @@ -189,7 +189,7 @@ $('#_datetimepicker6').datetimepicker({ timepicker:false, formatDate:'Y/m/d', minDate:'-1970/01/02',//yesterday is minimum date(for today use 0 or -1970/01/01) - maxDate:'+1970/01/02',//and tommorow is maximum date calendar, + maxDate:'+1970/01/02'//and tommorow is maximum date calendar });

Result

@@ -198,7 +198,7 @@ $('#_datetimepicker7').datetimepicker({ timepicker:false, formatDate:'Y/m/d', minDate:'-1970/01/02', // yesterday is minimum date - maxDate:'+1970/01/02', // and tommorow is maximum date calendar + maxDate:'+1970/01/02' // and tommorow is maximum date calendar }); }); @@ -219,7 +219,7 @@ $('#_datetimepicker7').datetimepicker({ Current value datetimepicker. If it is set, ignored input.value
{value:'12.03.2013',
- format:'d.m.Y',}
+ format:'d.m.Y'} @@ -289,7 +289,7 @@ $('#_datetimepicker7').datetimepicker({ minDate false -
{minDate:0,} // today
+			
{minDate:0} // today
 {minDate:'2013/12/03'}
 {minDate:'-1970/01/02'} // yesterday
 {minDate:'05.12.2013',formatDate:'d.m.Y'}