Compare commits

...

1 Commits

Author SHA1 Message Date
Francesco Minnocci 75af3ccd56 chore: update semester 4 months ago

@ -75,7 +75,7 @@ async function parseSemesterStartDate() {
try { try {
const { startYear, endYear } = getCurrentAcademicYear(); const { startYear, endYear } = getCurrentAcademicYear();
const currentMonth = new Date().getMonth(); 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)}/`; 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": { "timetableIds": {
"anno-1": "687e66d62d13e6001edd366d", "anno-1": "6966206f0f456f00552cec75",
"anno-2": "687e681301ee9300198320e6", "anno-2": "696622ec8a872b0073c0e54d",
"anno-3": "687e68bb01ee9300198320eb", "anno-3": "6966259a7727c0007dce3bd2",
"magistrale": "687e6a9f96ea080019d439d5" "magistrale": "6966272716f73b007d88fd8f"
}, },
"semesterStartDateStr": "24 settembre 2025", "semesterStartDateStr": "25 febbraio 2026",
"firstMondayDate": "2025-09-29T00:00:00.000Z", "firstMondayDate": "2026-03-02T00:00:00.000Z",
"buttonText": "Vai al 29 settembre! 🚀", "buttonText": "Vai al 2 marzo! 🚀",
"lastUpdated": "2025-08-28T13:15:33.748Z", "lastUpdated": "2026-01-23T15:08:14.943Z",
"academicYear": { "academicYear": {
"startYear": 2025, "startYear": 2025,
"endYear": 2026 "endYear": 2026

Loading…
Cancel
Save