Przeglądaj źródła

Merge pull request #614 from HaoZai000/feat/add-gxmu

星河欲转 2 tygodni temu
rodzic
commit
23f1ce5e3b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      resources/GXMU/gxmu.js

+ 1 - 1
resources/GXMU/gxmu.js

@@ -38,7 +38,7 @@ function mapCourseRecord(record) {
     const weeks = parseWeeks(record.zc || "");
     if (weeks.length === 0) return null;
 
-    const day = parseInt(record.qsxq, 10);
+    const day = parseInt(record.xq, 10);
     const startSection = parseInt(record.ps, 10);
     const endSection = parseInt(record.pe, 10);
     if (!day || day < 1 || day > 7) return null;