<DateField>
Displays a date or time, formatted according to the user's locale using Intl.DateTimeFormat.
Usage
<DateField source="createdAt" options={{ dateStyle: 'long' }} />
Displaying Time
<DateField
source="updatedAt"
options={{
dateStyle: 'short',
timeStyle: 'medium',
}}
/>
Props
| Prop | Type | Default | Description |
|---|