diff --git a/src/components/calendar/README.md b/src/components/calendar/README.md index 817f81287d5..fe0ea453f9f 100644 --- a/src/components/calendar/README.md +++ b/src/components/calendar/README.md @@ -235,7 +235,7 @@ with the component may occur. v2.6.0+ To change format options of the displayed date text inside the component, e.g. in the header, set -the `dateFormatOptions` prop to an object containing the requested format properties for the +the `date-format-options` prop to an object containing the requested format properties for the `Intl.DateTimeFormat` object (see also [Internationalization](#internationalization)). ```html @@ -243,12 +243,12 @@ the `dateFormatOptions` prop to an object containing the requested format proper
Custom date format:
Short date format: