mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
update doc
This commit is contained in:
parent
65fc798ec3
commit
9001bdb708
17
doc.tpl
17
doc.tpl
@ -118,13 +118,13 @@ $('#_datetimepicker2').datetimepicker({
|
||||
<h3 id="startdateex">Date Time Picker start date <a href="#startdateex">#</a></h3>
|
||||
<p><strong>javaScript</strong></p>
|
||||
<pre><code data-language="javascript">$('#datetimepicker_start_time').datetimepicker({
|
||||
startDate:'+1970/05/01'
|
||||
startDate:'+1971/05/01'//or 1986/12/08
|
||||
});</code></pre>
|
||||
<p><strong>Result</strong></p>
|
||||
<p><input type="text" id="datetimepicker_start_time"/></p>
|
||||
<script>$(function(){
|
||||
$('#datetimepicker_start_time').datetimepicker({
|
||||
startDate:'+1970/05/01'
|
||||
startDate:'+1971/05/01'
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@ -526,19 +526,18 @@ $('#_datetimepicker_weekends_disable').datetimepicker({
|
||||
<td><a href="#maxDate">maxDate</a></td>
|
||||
<td>false</td>
|
||||
<td></td>
|
||||
<td><pre><code data-language="javascript">{maxDate:0,}
|
||||
<td><pre><code data-language="javascript">{maxDate:0}
|
||||
{maxDate:'2013/12/03'}
|
||||
{maxDate:'+1970/01/02'} // tommorrow
|
||||
{maxDate:'05.12.2013',formatDate:'d.m.Y'}</code></pre></td>
|
||||
</tr>
|
||||
<tr id="starDate">
|
||||
<td><a href="#starDate">starDate</a></td>
|
||||
<tr id="startDate">
|
||||
<td><a href="#starDate">startDate</a></td>
|
||||
<td>false</td>
|
||||
<td>if input value is empty, calendar set date from this starDate</td>
|
||||
<td><pre><code data-language="javascript">
|
||||
{starDate:'1987/12/03'}
|
||||
{starDate:'+1970/01/02'} // tommorrow
|
||||
{starDate:'08.12.1986',formatDate:'d.m.Y'}</code></pre></td>
|
||||
<td><pre><code data-language="javascript">{startDate:'1987/12/03'}
|
||||
{startDate:'+1970/01/02'} // tommorrow
|
||||
{startDate:'08.12.1986',formatDate:'d.m.Y'}</code></pre></td>
|
||||
</tr>
|
||||
<tr id="minTime">
|
||||
<td><a href="#minTime">minTime</a></td>
|
||||
|
Loading…
Reference in New Issue
Block a user