时间:2019-05-03 来源:小程序工厂
Note: parsing of date strings with the Date constructor (and Date.parse, they are equivalent) is strongly discouraged due to browser differences and inconsistencies.
new Date(“2018-06-29 15:18:00”) 这样转化成时间戳,ios上null
new Date('2018/06/28 16:59:00')这样居然可以,也是醉啦