Skip to content

Commit fba70e6

Browse files
authored
[no ci] Update docs/DateTimeInput.md
1 parent f9db3ef commit fba70e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/DateTimeInput.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ import { DateTimeInput } from 'react-admin';
2727

2828
The input value must be a valid date string, i.e. a string understood by JavasSript's [`Date.parse()` method](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse), or a `Date` object. Strings with [the ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) 'yyyy-MM-ddThh:mm' are the most common (e.g. `'2022-04-30T12:30'`). The field value may contain a timezone offset, e.g. `'2022-04-30T12:30+02:00'`. If no timezone is specified, the browser's timezone is used.
2929

30-
After modification by the user, the value is stored as a string, using the same ISO 8601 ('yyyy-MM-ddThh:mm').
30+
After modification by the user, the value is stored as a string, using the same ISO 8601 format ('yyyy-MM-ddThh:mm').
3131

3232
**Tip**: For a Material UI styled `<DateTimeInput>` component, check out [MUI X Date Pickers](https://mui.com/x/react-date-pickers/)
3333

0 commit comments

Comments
 (0)