5621acc5 by yangjianbin

init

1 parent fb664cdc
......@@ -42,8 +42,10 @@
return null; //返回参数值
}
function getNowFormatDate() {
var date = new Date();
function getNowFormatDate(date) {
if(!date){
date = new Date();
}
var seperator1 = "-";
var year = date.getFullYear();
var month = date.getMonth() + 1;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!