// 上周
function previousWeek(currentDate) {
  var previousWeekDate = new Date(currentDate);
  previousWeekDate.setDate(currentDate.getDate() - 7);
  return previousWeekDate;
}
export default previousWeek;