Why is this Date JS function always a day behind?

后端 未结 0 1954
小鲜肉
小鲜肉 2020-12-16 03:12

Can someone please help me understand why this set of functions always calculates the date a day behind?

const parseISOString = (isoStr) => {
  return new          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题