Skip to content

Commit

Permalink
Update docs/data/date-pickers/custom-field/custom-field.md
Browse files Browse the repository at this point in the history
Co-authored-by: Lukas Tyla <[email protected]>
Signed-off-by: Flavien DELANGLE <[email protected]>
  • Loading branch information
flaviendelangle and LukasTy authored Jan 9, 2025
1 parent 473e3c5 commit 57eb520
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/data/date-pickers/custom-field/custom-field.md
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ You can use the `useParsedFormat` to get a clean placeholder.
This hook applies two main transformation on the format:

1. It replaces all the localized tokens (i.e.: `L` for a date with `dayjs`) with their expanded value (`DD/MM/YYYY` for the same date with `dayjs`).

Check failure on line 331 in docs/data/date-pickers/custom-field/custom-field.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [MUI.CorrectRererenceCased] Use 'i.e.' instead of 'i.e' Raw Output: {"message": "[MUI.CorrectRererenceCased] Use 'i.e.' instead of 'i.e'", "location": {"path": "docs/data/date-pickers/custom-field/custom-field.md", "range": {"start": {"line": 331, "column": 42}}}, "severity": "ERROR"}
2. It replaces each token with its token from our localization object (i.e: `YYYY` remains `YYYY` for the english locale but becomes `AAAA` for the french locale).
2. It replaces each token with its token from the localization object (i.e.: `YYYY` remains `YYYY` for the English locale but becomes `AAAA` for the French locale).

Check failure on line 332 in docs/data/date-pickers/custom-field/custom-field.md

View workflow job for this annotation

GitHub Actions / runner / vale

[vale] reported by reviewdog 🐶 [MUI.CorrectRererenceCased] Use 'i.e.' instead of 'i.e' Raw Output: {"message": "[MUI.CorrectRererenceCased] Use 'i.e.' instead of 'i.e'", "location": {"path": "docs/data/date-pickers/custom-field/custom-field.md", "range": {"start": {"line": 332, "column": 72}}}, "severity": "ERROR"}

:::warning
The format returned by `useParsedFormat` cannot be parsed by your date library.
Expand Down

0 comments on commit 57eb520

Please sign in to comment.