Date.parse Firefox返回Nan的解决办法 FF中对2010-12-20这种时间的转换格式始终返回Nan 解决办法:将-替换成/ Date.parse('2010-12-20‘.replace(/[-]/g,'/'))