mirror of
https://github.com/directus/directus.git
synced 2026-02-15 16:05:06 -05:00
Use string displays on the calendar layout (#14232)
This commit is contained in:
@@ -73,10 +73,7 @@ export default defineComponent({
|
||||
if (!props.user) return;
|
||||
|
||||
if (props.user.last_access) {
|
||||
lastAccessDate.value = await localizedFormat(
|
||||
new Date(props.user.last_access),
|
||||
String(t('date-fns_date_short'))
|
||||
);
|
||||
lastAccessDate.value = localizedFormat(new Date(props.user.last_access), String(t('date-fns_date_short')));
|
||||
}
|
||||
},
|
||||
{ immediate: true }
|
||||
|
||||
Reference in New Issue
Block a user