收藏
回答

修改手机时区后,wx.getWeRunData返回的每日记录里step都为0


重现步骤:

1、小程序wx.getWeRunData返回的每日步数值原本正常;

2、修改手机的时区为  渥太华 或 东京 等其他国家的时区;

3、杀掉手机微信进程;

4、重新进入小程序,wx.getWeRunData返回的每日步数值都为0;

注:若第4步返回的步数仍为正确值,则刷新多几次,之后就一直返回步数为0;


我使用的是 iphone6   ios11.0.3 测试。


北京时区数据:

[{"timestamp":1506182400,"step":13932},{"timestamp":1506268800,"step":9521},{"timestamp":1506355200,"step":7169},{"timestamp":1506441600,"step":11387},{"timestamp":1506528000,"step":5634},{"timestamp":1506614400,"step":8841},{"timestamp":1506700800,"step":14228},{"timestamp":1506787200,"step":11909},{"timestamp":1506873600,"step":28139},{"timestamp":1506960000,"step":8680},{"timestamp":1507046400,"step":13433},{"timestamp":1507132800,"step":9888},{"timestamp":1507219200,"step":12955},{"timestamp":1507305600,"step":12012},{"timestamp":1507392000,"step":11224},{"timestamp":1507478400,"step":11896},{"timestamp":1507564800,"step":10343},{"timestamp":1507651200,"step":14666},{"timestamp":1507737600,"step":15013},{"timestamp":1507824000,"step":12252},{"timestamp":1507910400,"step":16232},{"timestamp":1507996800,"step":6333},{"timestamp":1508083200,"step":9456},{"timestamp":1508169600,"step":10034},{"timestamp":1508256000,"step":11031},{"timestamp":1508342400,"step":15881},{"timestamp":1508428800,"step":10467},{"timestamp":1508515200,"step":14077},{"timestamp":1508601600,"step":18569},{"timestamp":1508688000,"step":10674},{"timestamp":1508774400,"step":10384}]


渥太华时区数据:

[{"timestamp":1506182400,"step":0},{"timestamp":1506268800,"step":0},{"timestamp":1506355200,"step":0},{"timestamp":1506441600,"step":0},{"timestamp":1506528000,"step":0},{"timestamp":1506614400,"step":0},{"timestamp":1506700800,"step":0},{"timestamp":1506787200,"step":0},{"timestamp":1506873600,"step":0},{"timestamp":1506960000,"step":0},{"timestamp":1507046400,"step":0},{"timestamp":1507132800,"step":0},{"timestamp":1507219200,"step":0},{"timestamp":1507305600,"step":0},{"timestamp":1507392000,"step":0},{"timestamp":1507478400,"step":0},{"timestamp":1507564800,"step":0},{"timestamp":1507651200,"step":0},{"timestamp":1507737600,"step":0},{"timestamp":1507824000,"step":0},{"timestamp":1507910400,"step":0},{"timestamp":1507996800,"step":0},{"timestamp":1508083200,"step":0},{"timestamp":1508169600,"step":0},{"timestamp":1508256000,"step":0},{"timestamp":1508342400,"step":0},{"timestamp":1508428800,"step":0},{"timestamp":1508515200,"step":0},{"timestamp":1508601600,"step":0},{"timestamp":1508688000,"step":0},{"timestamp":1508774400,"step":0}]


最后一次编辑于  2017-11-08
回答关注问题邀请回答
收藏

5 个回答

  • 蜗牛
    蜗牛
    2018-02-03

    bug那么久不解决也不回应,反馈的意义

    2018-02-03
    有用
    回复
  • 蜗牛
    蜗牛
    2017-12-15

    这个bug那么久都不解决,顶一下

    2017-12-15
    有用
    回复
  • 蜗牛
    蜗牛
    2017-12-03

    太久了,顶一下

    2017-12-03
    有用
    回复
  • 蜗牛
    蜗牛
    2017-11-23

    管理员,能否帮忙看下这个问题,提了一个月了,谢谢。

    2017-11-23
    有用
    回复
  • 蜗牛
    蜗牛
    2017-11-14

    请问管理员,这个问题有人帮忙看下吗?

    2017-11-14
    有用
    回复
登录 后发表内容