mirror of
https://github.com/xdan/datetimepicker.git
synced 2024-11-18 06:24:22 +00:00
add 'allowDates' and 'allowDateRe' to doc
This commit is contained in:
parent
661fc2ca1e
commit
d816f373d2
16
doc.tpl
16
doc.tpl
@ -910,6 +910,22 @@ jQuery(function(){
|
|||||||
<pre><code data-language="javascript">{disabledDates: ['01.01.2014','02.01.2014','03.01.2014','04.01.2014','05.01.2014','06.01.2014'], formatDate:'d.m.Y'}</code></pre>
|
<pre><code data-language="javascript">{disabledDates: ['01.01.2014','02.01.2014','03.01.2014','04.01.2014','05.01.2014','06.01.2014'], formatDate:'d.m.Y'}</code></pre>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr id="allowDates">
|
||||||
|
<td><a href="#allowDates">allowDates</a></td>
|
||||||
|
<td>[]</td>
|
||||||
|
<td><p>Allow all dates in list</p></td>
|
||||||
|
<td>
|
||||||
|
<pre><code data-language="javascript">{allowDates: ['01.01.2014','02.01.2014','03.01.2014','04.01.2014','05.01.2014','06.01.2014'], formatDate:'d.m.Y'}</code></pre>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr id="allowDateRe">
|
||||||
|
<td><a href="#allowDateRe">allowDateRe</a></td>
|
||||||
|
<td>[]</td>
|
||||||
|
<td><p>Use Regex to check dates</p></td>
|
||||||
|
<td>
|
||||||
|
<pre><code data-language="javascript">{format:'Y-m-d',allowDateRe:'\d{4}-(03-31|06-30|09-30|12-31)' }</code></pre>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
<tr id="id">
|
<tr id="id">
|
||||||
<td>id</td>
|
<td>id</td>
|
||||||
<td> </td>
|
<td> </td>
|
||||||
|
Loading…
Reference in New Issue
Block a user