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(/>(\d{2}\.\d{2}\.\d{4})</);
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() : '';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zdu-student-api",
3
- "version": "1.1.12",
3
+ "version": "1.1.13",
4
4
  "description": "API client for ZDU student services",
5
5
  "author": "Nicita3 <ni596157@gmail.com> (https://github.com/Nicita-3)",
6
6
  "main": "dist/index.js",