Skip to content

Commit

Permalink
update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
C4illin committed Sep 2, 2024
1 parent 7c89cbd commit bcaaaee
Show file tree
Hide file tree
Showing 3 changed files with 110 additions and 70 deletions.
2 changes: 1 addition & 1 deletion lasvecka-node/calc_date.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if (!fs.existsSync("./data/data.json")) {
} else {
dateDict = JSON.parse(fs.readFileSync("./data/data.json"));

//check if it was updated after 1/7 this year and if 1/7 has occured this year
// check if it was updated after 1/7 this year and if 1/7 has occured this year
const updated = moment(dateDict.updated);
const firstOfJuly = moment().month(6).date(1);
if (updated.isBefore(firstOfJuly) && moment().isAfter(firstOfJuly)) {
Expand Down
2 changes: 1 addition & 1 deletion lasvecka-node/data/data.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"2023-08-28":"study_period","2023-10-21":"exam_period","2023-10-30":"study_period","2024-01-08":"exam_period","2024-01-15":"study_period","2024-03-09":"exam_period","2024-03-18":"study_period","easter_start":"2024-04-03","easter_end":"2024-04-05","ord_cont":"2024-04-08","2024-05-25":"exam_period","updated":"2023-11-06"}
{"2024-09-02":"study_period","2024-10-26":"exam_period","2024-11-04":"study_period","2025-01-11":"exam_period","2025-01-20":"study_period","2025-03-15":"exam_period","2025-03-24":"study_period","easter_start":"2025-04-14","easter_end":"2025-04-16","ord_cont":"2025-04-14","2025-05-31":"exam_period","updated":"2024-09-02"}
176 changes: 108 additions & 68 deletions lasvecka-node/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bcaaaee

Please sign in to comment.