Calculation of previous day through yesterday.setDate(currentDay.getDate() - 1) fails

前端 未结 0 1362
栀梦
栀梦 2020-12-03 17:33

I\'m trying to calculate the dates of the current and the previous 6 days. This should work by simply subtracting 1 from the previous date, so I implemented my current solut

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