feat: show times in user edit and list views

This commit is contained in:
Deluan
2020-01-25 18:01:11 -05:00
parent 1f27db9803
commit 478090380d
2 changed files with 8 additions and 4 deletions
+4 -4
View File
@@ -22,10 +22,10 @@ const UserEdit = (props) => (
<TextInput source="email" validate={[required(), email()]} />
<PasswordInput source="password" validate={[required()]} />
<BooleanInput source="isAdmin" initialValue={false} />
<DateField source="lastLoginAt" />
<DateField source="lastAccessAt" />
<DateField source="updatedAt" />
<DateField source="createdAt" />
<DateField source="lastLoginAt" showTime />
<DateField source="lastAccessAt" showTime />
<DateField source="updatedAt" showTime />
<DateField source="createdAt" showTime />
</SimpleForm>
</Edit>
)