周历
This commit is contained in:
@@ -103,7 +103,7 @@ export function getweek(time: string, id: string,zhou?: number){
|
||||
|
||||
for(let i = 0; i < 7; i++){
|
||||
console.log(i);
|
||||
now = now.day(i + 1)
|
||||
now = now.day(i)
|
||||
date[i] = {day: ""};
|
||||
date[i].day = now.year() + "-" + (now.month() + 1 < 10 ? '0' + (now.month() + 1) : (now.month() + 1)) + "-" + (now.date() < 10 ? '0' + now.date() : now.date())
|
||||
date[i].list = []
|
||||
|
||||
Reference in New Issue
Block a user