日期 显示出来的是这样的 Tue Jul 10 16:51:40 CST 2018 怎么转换,我的数据库里是datetime类型
<div class="form-group">
<label for="releaseDate" class="col-sm-2 control-label">发布时间</label>
<div class="col-sm-8 input-group date form_datetime " style="padding-left: 16px;padding-right: 16px;" data-date="1979-09-16T05:25:07Z" data-date-format="dd MM yyyy - HH:ii p" data-link-field="releaseDate">
<input type="text" size="16" readonly class="form-control" value="${obj.releaseDate}" 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="releaseDate" name="releaseDate" value="${obj.releaseDate}" />
</div>
添加回复
请先登陆