From d816f373d2c901f632a6db5f30bd998a0f50535e Mon Sep 17 00:00:00 2001 From: xiaoyu5256 Date: Sun, 14 Feb 2016 10:45:50 +0800 Subject: [PATCH] add 'allowDates' and 'allowDateRe' to doc --- doc.tpl | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/doc.tpl b/doc.tpl index 4198c83..e02d90d 100644 --- a/doc.tpl +++ b/doc.tpl @@ -910,6 +910,22 @@ jQuery(function(){
{disabledDates: ['01.01.2014','02.01.2014','03.01.2014','04.01.2014','05.01.2014','06.01.2014'], formatDate:'d.m.Y'}
+ +allowDates +[] +

Allow all dates in list

+ +
{allowDates: ['01.01.2014','02.01.2014','03.01.2014','04.01.2014','05.01.2014','06.01.2014'], formatDate:'d.m.Y'}
+ + + +allowDateRe +[] +

Use Regex to check dates

+ +
{format:'Y-m-d',allowDateRe:'\d{4}-(03-31|06-30|09-30|12-31)' }
+ + id