Google Charts Table displaying incorrect date

前端 未结 1 729
闹比i
闹比i 2020-12-11 12:55

In this example google charts table is given a date of 1/1/16 and displays 12/31/15. Do I need to use some kind of timezone or something?

相关标签:
1条回答
  • 2020-12-11 13:12

    not related to google-visualization, the real answer is here...
    Why does Date.parse give incorrect results?

    use format such as '01/01/2016' to get expected results...

    0 讨论(0)
提交回复
热议问题