@@ -1,5 +1,5 @@
-
+//获取某一天前的日期
function getDay(day) {
var today = new Date()
@@ -53,6 +53,8 @@ Date.prototype.format = function (fmt) {
return fmt;
}
+
+ //获取某一月份 周五到周四的日期
export function allWeeks(now_month) {
let week_array = [];
let today = new Date(Date.parse(now_month));