IE中使用js的Date函數來說時間戳轉日期格式出問題

IE與火狐、谷歌的經常使用瀏覽器在js的Date的區別:瀏覽器

date =new Date(1422720000000).tolocaleDateString();date

在IE會解析爲:x年x月x日,new

在其餘經常使用瀏覽器中:x/x/x

相關文章
相關標籤/搜索