🐛 Fix AM/PM for invite modal

This commit is contained in:
ajnart
2023-08-14 12:07:21 +02:00
parent ce5552c913
commit 07f8ce3de5
2 changed files with 3 additions and 5 deletions

View File

@@ -23,9 +23,7 @@
"title": "Create invite", "title": "Create invite",
"description": "After the expiration, an invite will no longer be valid and the recipient of the invite won't be able to create an account.", "description": "After the expiration, an invite will no longer be valid and the recipient of the invite won't be able to create an account.",
"form": { "form": {
"expires": { "expires": "Expiration date",
"label": "Expiration date"
},
"submit": "Create" "submit": "Create"
} }
}, },

View File

@@ -43,8 +43,8 @@ export const CreateInviteModal = ({ id }: ContextModalProps<{}>) => {
minDate={minDate} minDate={minDate}
maxDate={maxDate} maxDate={maxDate}
withAsterisk withAsterisk
valueFormat="DD MMM YYYY hh:mm A" valueFormat="DD MMM YYYY HH:mm"
label={t('modals.create.form.expires.label')} label={t('modals.create.form.expires')}
variant="filled" variant="filled"
{...form.getInputProps('expirationDate')} {...form.getInputProps('expirationDate')}
/> />