Skip to content

Commit 9b24922

Browse files
unknownunknown
authored andcommitted
#5-08-2024
1 parent a45d60b commit 9b24922

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

appsTeacher/groups/app.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,10 +321,12 @@ module.exports = function init(site) {
321321
if (_data.type == "validDay") {
322322
let date = new Date(_data.date);
323323
console.log(date,_data.date);
324-
324+
325325
let index = doc.dayList.findIndex(
326326
(itm) => new Date(itm.date).getDate() === date.getDate() && new Date(itm.date).getMonth() === date.getMonth() && new Date(itm.date).getFullYear() === date.getFullYear() && !itm.isBook
327327
);
328+
console.log(doc.dayList);
329+
328330
if (index !== -1) {
329331
if (!doc.dayList[index].isBook) {
330332
result.validDay = doc.dayList[index];

0 commit comments

Comments
 (0)