diff --git a/web/src/elements/forms/Form.ts b/web/src/elements/forms/Form.ts
index 85cee382f..4ec712520 100644
--- a/web/src/elements/forms/Form.ts
+++ b/web/src/elements/forms/Form.ts
@@ -141,6 +141,14 @@ export class Form extends LitElement {
element.type === "datetime-local"
) {
json[element.name] = new Date(element.valueAsNumber);
+ } else if (
+ element.tagName.toLowerCase() === "input" &&
+ "type" in element.dataset &&
+ element.dataset["type"] === "datetime-local"
+ ) {
+ // Workaround for Firefox <93, since 92 and older don't support
+ // datetime-local fields
+ json[element.name] = new Date(element.value);
} else if (element.tagName.toLowerCase() === "input" && element.type === "checkbox") {
json[element.name] = element.checked;
} else {
diff --git a/web/src/pages/stages/invitation/InvitationForm.ts b/web/src/pages/stages/invitation/InvitationForm.ts
index 635be3687..d2851264b 100644
--- a/web/src/pages/stages/invitation/InvitationForm.ts
+++ b/web/src/pages/stages/invitation/InvitationForm.ts
@@ -43,6 +43,7 @@ export class InvitationForm extends ModelForm {
{
@@ -51,27 +50,6 @@ export class TokenForm extends ModelForm {
${t`Unique identifier the token is referenced by.`}
-
-
-