都是通过new Date()记录时间,但是这2个时区显示的不一样
微信小程序时区,直接使用和使用storage存储显示的不一样Wechat applet time zone, which is different when used directly and stored using storage
微信小程序时区,直接使用和使用storage存储显示的不一样框架类型 | 问题类型 | API/组件名称 | 终端类型 | 微信版本 | 基础库版本 |
---|---|---|---|---|---|
小程序 | Bug | storage | 工具 | 8.0.9以上版本 | 2.19.6 |
都是通过new Date()记录时间,但是这2个时区显示的不一样
Framework type problem type API / component name terminal type wechat version basic library version applet bug storage tool version 2.19.6 above 8.0.9 records the time through new date(), but the two time zones display differently
回答:
这不是BUG
格式不同而已,GMT和UTC格式。
不是BUG啊大哥。。。这就是时间格式的区别