mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 07:38:33 -06:00
course difference deletions
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { timeUtils } from "../../timeUtils";
|
||||
import { verifyDateOrThrow, verifyDateStringOrUndefined } from "../../timeUtils";
|
||||
import { LocalQuiz } from "../localQuiz";
|
||||
import { quizQuestionMarkdownUtils } from "./quizQuestionMarkdownUtils";
|
||||
|
||||
@@ -74,10 +74,10 @@ const getQuizWithOnlySettings = (settings: string): LocalQuiz => {
|
||||
);
|
||||
|
||||
const rawDueAt = extractLabelValue(settings, "DueAt");
|
||||
const dueAt = timeUtils.parseDateOrThrow(rawDueAt, "DueAt");
|
||||
const dueAt = verifyDateOrThrow(rawDueAt, "DueAt");
|
||||
|
||||
const rawLockAt = extractLabelValue(settings, "LockAt");
|
||||
const lockAt = timeUtils.parseDateOrUndefined(rawLockAt);
|
||||
const lockAt = verifyDateStringOrUndefined(rawLockAt);
|
||||
|
||||
const description = extractDescription(settings);
|
||||
const localAssignmentGroupName = extractLabelValue(
|
||||
|
||||
Reference in New Issue
Block a user