This commit is contained in:
@@ -86,7 +86,6 @@ export default {
|
|||||||
var dtAfter = dtToday.plus({ days: -7 });
|
var dtAfter = dtToday.plus({ days: -7 });
|
||||||
//go backwards to Sunday (In Luxon Monday is 1, Sunday is 7)
|
//go backwards to Sunday (In Luxon Monday is 1, Sunday is 7)
|
||||||
while (dtAfter.weekday != 7) {
|
while (dtAfter.weekday != 7) {
|
||||||
console.log("dow:" + dtAfter.weekday + ", is " + dtAfter.weekdayLong);
|
|
||||||
dtAfter = dtAfter.plus({ days: -1 });
|
dtAfter = dtAfter.plus({ days: -1 });
|
||||||
}
|
}
|
||||||
//go to very start of eighth dayahead
|
//go to very start of eighth dayahead
|
||||||
|
|||||||
Reference in New Issue
Block a user