mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-11 07:55:52 +01:00
🐛 Fix AM/PM for invite modal
This commit is contained in:
@@ -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"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -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')}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user