Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8ae010a715 | ||
|
|
75af3ccd56 |
@@ -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)}/`;
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user