比较原始的jquery时间规范方法
function myformatter(date){
var y = date.getFullYear();
var m = date.getMonth()+1;
var d = date.getDate();
var h=date.getHours();
var f=date.getMinutes();
var s=date.getSeconds();
return y+'-'+(m<10?('0'+m):m)+'-'+(d<10?('0'+d):d)+' '+(h<10?('0'+h):h)+':'+(f<10?('0'+f):f)+':'+(s<10?('0'+s):s);
var y = date.getFullYear();
var m = date.getMonth()+1;
var d = date.getDate();
var h=date.getHours();
var f=date.getMinutes();
var s=date.getSeconds();
return y+'-'+(m<10?('0'+m):m)+'-'+(d<10?('0'+d):d)+' '+(h<10?('0'+h):h)+':'+(f<10?('0'+f):f)+':'+(s<10?('0'+s):s);
}
<input type="text" name="outdate" class="easyui-datetimebox" data-options="formatter:myformatter" id="outdate" size="17" maxlength="200" value="${nowdate }">