diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/utils-common.ts | 2 |
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])); } |
