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