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 088e4ee commit 473e3c5
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 @@ -328,7 +328,7 @@ function CustomDateField(props) {
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 there expanded value (`DD/MM/YYYY` for the same date with `dayjs`).
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).

Check warning 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 🐶 [Google.We] Try to avoid using first-person plural like 'our'. Raw Output: {"message": "[Google.We] Try to avoid using first-person plural like 'our'.", "location": {"path": "docs/data/date-pickers/custom-field/custom-field.md", "range": {"start": {"line": 332, "column": 47}}}, "severity": "WARNING"}

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
Expand Down

0 comments on commit 473e3c5

Please sign in to comment.