safari 浏览器 Date兼容性问题
比如 new Date('2013-10-21') 永远返回Invalid Date
所以如果是safari浏览器请用 replace(/-/g, "/")替换“-”为“/”