This commit is contained in:
@@ -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 <= 5 ? 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)}/`;
|
||||
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
{
|
||||
"timetableIds": {
|
||||
"anno-1": "687e66d62d13e6001edd366d",
|
||||
"anno-2": "687e681301ee9300198320e6",
|
||||
"anno-3": "687e68bb01ee9300198320eb",
|
||||
"magistrale": "687e6a9f96ea080019d439d5"
|
||||
"anno-1": "6966206f0f456f00552cec75",
|
||||
"anno-2": "696622ec8a872b0073c0e54d",
|
||||
"anno-3": "6966259a7727c0007dce3bd2",
|
||||
"magistrale": "6966272716f73b007d88fd8f"
|
||||
},
|
||||
"semesterStartDateStr": "24 settembre 2025",
|
||||
"firstMondayDate": "2025-09-29T00:00:00.000Z",
|
||||
"buttonText": "Vai al 29 settembre! 🚀",
|
||||
"lastUpdated": "2025-08-28T13:15:33.748Z",
|
||||
"semesterStartDateStr": "25 febbraio 2026",
|
||||
"firstMondayDate": "2026-03-02T00:00:00.000Z",
|
||||
"buttonText": "Vai al 2 marzo! 🚀",
|
||||
"lastUpdated": "2026-01-23T15:15:31.641Z",
|
||||
"academicYear": {
|
||||
"startYear": 2025,
|
||||
"endYear": 2026
|
||||
|
||||
Reference in New Issue
Block a user