1.格式化时间导致的问题
firfox、IE都 正常显示:
{
header: "入住时间",
dataIndex: "LiveTime",
format: 'Y-m-d'
}
firefox显示正常,IE显示不正常:
{
header: "入住时间",
dataIndex: "LiveTime",
renderer: Ext.util.Format.dateRenderer('Y-m-d')
}
2.
本文讨论了在开发过程中遇到的关于时间格式化在Firefox和IE浏览器中显示不一致的问题,通过使用Ext.util.Format.dateRenderer方法解决了Firefox正常显示但IE不正常的问题。

295

被折叠的 条评论
为什么被折叠?



