wujingjing
2024-11-14 6e3dff485788426e94b7fad0edb1717e3f0c9f40
src/utils/util.ts
@@ -470,6 +470,7 @@
   const startDate = new Date();
   startDate.setTime(startDate.getTime() - 3600 * 1000 * 24 * dates);
   startDate.setHours(0, 0, 0, 0);
   endDate.setHours(23,59,59,59)
   return [startDate, endDate];
};