Skip to content

Commit 4dc645a

Browse files
committed
fix(attempt): failed to fetch special exam time
1 parent f6a8213 commit 4dc645a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/model/xidian_ids/exam.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Subject {
1818
String? seat;
1919

2020
static RegExp timeRegExpUnderGraduate = RegExp(
21-
r'^(?<year>\d{4})-(?<month>\d{2})-(?<day>\d{2}) (?<hour>\d{2})(::?)(?<minute>\d{2})-(?<stopHour>\d{2})(::?)(?<stopMinute>\d{2})',
21+
r'^(?<year>\d+)-(?<month>\d+)-(?<day>\d+) (?<hour>\d+)(::?)(?<minute>\d+)-(?<stopHour>\d+)(::?)(?<stopMinute>\d+)',
2222
);
2323
static RegExp timeRegExpPostGraduate = RegExp(
2424
r'^(?<year>\d{4})-(?<month>\d{2})-(?<day>\d{2}) (.{3})\((?<hour>\d{2})(::?)(?<minute>\d{2})-(?<stopHour>\d{2})(::?)(?<stopMinute>\d{2})\)',

0 commit comments

Comments
 (0)