Author SHA1 Message Date
BachoSeven 8ae010a715 feat: push new ids 2026-09-02 21:54:08 +02:00
BachoSeven 75af3ccd56 chore: update semester 2026-01-23 16:09:50 +01:00
2 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ async function parseSemesterStartDate() {
try {
const { startYear, endYear } = getCurrentAcademicYear();
const currentMonth = new Date().getMonth();
const currentSemester = currentMonth >= 1 && currentMonth <= 6 ? 2 : 1;
const currentSemester = currentMonth >= 0 && currentMonth <= 6 ? 2 : 1;
const url = `https://www.dm.unipi.it/didattica/lezioni-esami/calendario-delle-attivita-didattiche/calendario-delle-attivita-didattiche-a-a-${startYear}-${endYear.toString().slice(-2)}/`;
+6 -6
View File
@@ -5,12 +5,12 @@
"anno-3": "687e68bb01ee9300198320eb",
"magistrale": "687e6a9f96ea080019d439d5"
},
"semesterStartDateStr": "24 settembre 2025",
"firstMondayDate": "2025-09-29T00:00:00.000Z",
"buttonText": "Vai al 29 settembre! 🚀",
"lastUpdated": "2025-08-28T13:15:33.748Z",
"semesterStartDateStr": "23 settembre 2026",
"firstMondayDate": "2026-09-28T00:00:00.000Z",
"buttonText": "Vai al 28 settembre! 🚀",
"lastUpdated": "2026-09-02T19:43:46.921Z",
"academicYear": {
"startYear": 2025,
"endYear": 2026
"startYear": 2026,
"endYear": 2027
}
}