aboutsummaryrefslogtreecommitdiff
path: root/src/utils-common.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils-common.ts')
-rw-r--r--src/utils-common.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils-common.ts b/src/utils-common.ts
index 1bc5e71..ef46529 100644
--- a/src/utils-common.ts
+++ b/src/utils-common.ts
@@ -101,5 +101,5 @@ export function parseMoodleDate(s: string) {
}
const month = MONTHS[match[2]];
- return new Date(Number(match[3]), month, Number(match[1]), Number(match[4]), Number(match[4]));
+ return new Date(Number(match[3]), month, Number(match[1]), Number(match[4]), Number(match[5]));
}