mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
commit
abea18bad6
10
doc.tpl
10
doc.tpl
@ -237,7 +237,7 @@ jQuery('#_datetimepicker6').datetimepicker({
|
|||||||
timepicker:false,
|
timepicker:false,
|
||||||
formatDate:'Y/m/d',
|
formatDate:'Y/m/d',
|
||||||
minDate:'-1970/01/02',//yesterday is minimum date(for today use 0 or -1970/01/01)
|
minDate:'-1970/01/02',//yesterday is minimum date(for today use 0 or -1970/01/01)
|
||||||
maxDate:'+1970/01/02'//tommorow is maximum date calendar
|
maxDate:'+1970/01/02'//tomorrow is maximum date calendar
|
||||||
});</code></pre>
|
});</code></pre>
|
||||||
<p><strong>Result</strong></p>
|
<p><strong>Result</strong></p>
|
||||||
<p><input id="_datetimepicker7" type="text" value="" /></p>
|
<p><input id="_datetimepicker7" type="text" value="" /></p>
|
||||||
@ -247,7 +247,7 @@ jQuery('#_datetimepicker7').datetimepicker({
|
|||||||
timepicker:false,
|
timepicker:false,
|
||||||
formatDate:'Y/m/d',
|
formatDate:'Y/m/d',
|
||||||
minDate:'-1970/01/02', // yesterday is minimum date
|
minDate:'-1970/01/02', // yesterday is minimum date
|
||||||
maxDate:'+1970/01/02' // and tommorow is maximum date calendar
|
maxDate:'+1970/01/02' // and tomorrow is maximum date calendar
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
// ]]></script>
|
// ]]></script>
|
||||||
@ -644,7 +644,7 @@ jQuery(function(){
|
|||||||
<td>
|
<td>
|
||||||
<pre><code data-language="javascript">{maxDate:0}
|
<pre><code data-language="javascript">{maxDate:0}
|
||||||
{maxDate:'2013/12/03'}
|
{maxDate:'2013/12/03'}
|
||||||
{maxDate:'+1970/01/02'} // tommorrow
|
{maxDate:'+1970/01/02'} // tomorrow
|
||||||
{maxDate:'05.12.2013',formatDate:'d.m.Y'}</code></pre>
|
{maxDate:'05.12.2013',formatDate:'d.m.Y'}</code></pre>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -655,7 +655,7 @@ jQuery(function(){
|
|||||||
<td>
|
<td>
|
||||||
<pre><code data-language="javascript">{startDate:'1987/12/03'}
|
<pre><code data-language="javascript">{startDate:'1987/12/03'}
|
||||||
{startDate:new Date()}
|
{startDate:new Date()}
|
||||||
{startDate:'+1970/01/02'} // tommorrow
|
{startDate:'+1970/01/02'} // tomorrow
|
||||||
{startDate:'08.12.1986',formatDate:'d.m.Y'}</code></pre>
|
{startDate:'08.12.1986',formatDate:'d.m.Y'}</code></pre>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -667,7 +667,7 @@ jQuery(function(){
|
|||||||
<td>
|
<td>
|
||||||
<pre><code data-language="javascript">{defaultDate:'1987/12/03'}
|
<pre><code data-language="javascript">{defaultDate:'1987/12/03'}
|
||||||
{defaultDate:new Date()}
|
{defaultDate:new Date()}
|
||||||
{defaultDate:'+1970/01/02'} // tommorrow
|
{defaultDate:'+1970/01/02'} // tomorrow
|
||||||
{defaultDate:'08.12.1986',formatDate:'d.m.Y'}</code></pre>
|
{defaultDate:'08.12.1986',formatDate:'d.m.Y'}</code></pre>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
Reference in New Issue
Block a user