Skip to content

Commit

Permalink
Update docs/data/date-pickers/adapters-locale/adapters-locale.md
Browse files Browse the repository at this point in the history
Co-authored-by: Flavien DELANGLE <flaviendelangle@gmail.com>
Signed-off-by: Lukas Tyla <llukas.tyla@gmail.com>
  • Loading branch information
LukasTy and flaviendelangle authored Sep 19, 2024
1 parent 04d4340 commit 8217aed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/data/date-pickers/adapters-locale/adapters-locale.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ We support `date-fns` package v2.x, v3.x, and v4.x major versions.

A single adapter cannot work for all `date-fns` versions, because the way functions are exported has been changed in v3.x.

To use `date-fns` v3.x or v4.x, you will have to import the adapter from `@mui/x-date-pickers/AdapterDateFnsV3` instead of `@mui/x-date-pickers/AdapterDateFns`.
To use `date-fns` v3.x or v4.x, you need to import the adapter from `@mui/x-date-pickers/AdapterDateFnsV3` instead of `@mui/x-date-pickers/AdapterDateFns`.
:::

```tsx
Expand Down

0 comments on commit 8217aed

Please sign in to comment.