diff --git a/public/locales/en/manage/users/invites.json b/public/locales/en/manage/users/invites.json index 7f7115581..de4c70cb0 100644 --- a/public/locales/en/manage/users/invites.json +++ b/public/locales/en/manage/users/invites.json @@ -23,9 +23,7 @@ "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.", "form": { - "expires": { - "label": "Expiration date" - }, + "expires": "Expiration date", "submit": "Create" } }, diff --git a/src/components/Manage/User/Invite/create-invite.modal.tsx b/src/components/Manage/User/Invite/create-invite.modal.tsx index 6edc1dcbc..972a210a2 100644 --- a/src/components/Manage/User/Invite/create-invite.modal.tsx +++ b/src/components/Manage/User/Invite/create-invite.modal.tsx @@ -43,8 +43,8 @@ export const CreateInviteModal = ({ id }: ContextModalProps<{}>) => { minDate={minDate} maxDate={maxDate} withAsterisk - valueFormat="DD MMM YYYY hh:mm A" - label={t('modals.create.form.expires.label')} + valueFormat="DD MMM YYYY HH:mm" + label={t('modals.create.form.expires')} variant="filled" {...form.getInputProps('expirationDate')} />