我正在尝试从数据库列出bootstrap表上的日期。 我的数据库日期值是:
但是在将值重定向到html页面后,它会显示如下。
为什么会这样?
我的HTML代码是
<td style="word-break: break-all;"><%=schedulerList[i].to_date %></td>
<td style="word-break: break-all;"> <%=schedulerList[i].from_date %></td>
但是在上市后它给了我另一种格式。 请帮忙。