zdu-student-api 1.1.12 → 1.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -137,7 +137,7 @@ function parseSchedule(html) {
|
|
|
137
137
|
index = allInds[indIdx];
|
|
138
138
|
}
|
|
139
139
|
indIdx++;
|
|
140
|
-
const dateMatch = thContent.match(
|
|
140
|
+
const dateMatch = thContent.match(/(\d{2}\.\d{2}\.\d{4})/);
|
|
141
141
|
const date = dateMatch ? dateMatch[1] : '';
|
|
142
142
|
const timeMatch = thContent.match(/<br[^>]*>\s*(\d{2}:\d{2}-\d{2}:\d{2})/);
|
|
143
143
|
const time = timeMatch ? timeMatch[1].trim() : '';
|