From 102a7497bc7a6e1d032b70d93aae073b90fce6d5 Mon Sep 17 00:00:00 2001 From: sentsin Date: Sat, 2 Sep 2017 17:46:41 +0800 Subject: [PATCH] test --- examples/laydate.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/laydate.html b/examples/laydate.html index 8adb611f..4549bac9 100644 --- a/examples/laydate.html +++ b/examples/laydate.html @@ -133,10 +133,12 @@ layui.use('laydate', function(){ laydate.render({ elem: '#test2' ,format: 'y年MM月dd日' + ,value: new Date().getFullYear() + '年' + lay.digit(new Date().getMonth() + 1) + '月' + lay.digit(new Date().getDate()) + '日' + ,max: 0 //,value: new Date(2017,7,20) //,min: '2016-10-14' //,max: -1 - ,value: '1989年10月14日' + //,value: '1989年10月14日' ,ready: function(date){ console.log(date); }