<div class="form-group">
<label for="dueTimeStr" class="col-sm-2 control-label">${msg['product.column.due_time']}</label>
<div class="col-sm-8 input-group date form_datetime " style="padding-left: 16px;padding-right: 16px;" data-date="1979-09-16 00:00:00" data-date-format="yyyy-mm-dd hh:ii:ss" data-link-field="dueTimeStr">
<input type="text" size="16" readonly class="form-control" value="${@date.getDate()}" data-parsley-required="true">
<span class="input-group-addon"><span class="glyphicon glyphicon-remove"></span></span>
<span class="input-group-addon"><span class="glyphicon glyphicon-th"></span></span>
</div>
<input type="hidden" id="dueTimeStr" name="dueTimeStr" value="${@date.getDate()}" />
</div>
$('.form_datetime').datetimepicker({
language: 'zh-CN',
format:'yyyy-mm-dd hh:ii:ss',
weekStart: 1,
todayBtn: 1,
autoclose: 1,
todayHighlight: 1,
startView: 2,
forceParse: 0,
showMeridian: 1
});
显示结果 是 2017-09-19
我想获取他的时分秒 在它初始化的时候,是哪里配置错误啦,找了好久问题 请教一下