From b7fbef303edd8cab535b7f87f6afe458b2ff0399 Mon Sep 17 00:00:00 2001 From: gpbl Date: Fri, 17 May 2024 17:24:43 -0500 Subject: [PATCH] docs: update external links to date-fns --- website/docs/using-daypicker/localization.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/using-daypicker/localization.mdx b/website/docs/using-daypicker/localization.mdx index b48f50708b..7a8780f9be 100644 --- a/website/docs/using-daypicker/localization.mdx +++ b/website/docs/using-daypicker/localization.mdx @@ -8,14 +8,14 @@ sidebar_position: 5 | Prop Name | Type | Description | | ----------------------- | --------------------------------------------- | ------------------------------------------------------------------ | -| `locale` | [`Locale`](http://date-fns.org/docs/I18n) | Set the locale. Default is `en-US`. | +| `locale` | [`Locale`](https://date-fns.org/docs/I18n) | Set the locale. Default is `en-US`. | | `weekStartsOn` | `1` \| `2` \| `3` \| `4` \| `5` \| `6` \| `7` | Display the days falling into the other months. | | `firstWeekContainsDate` | `1` \| `4` | Configure the first date in the first week of the year. | | `ISOWeek` | `boolean` | Use [ISO Week Dates](https://en.wikipedia.org/wiki/ISO_week_date). | ### Set a Different Locale -To set a locale different than the the default `English (US)`, pass to the `locale` prop a [Locale](http://date-fns.org/docs/Locale) object imported from `date-fns`. +To set a locale different than the the default `English (US)`, pass to the `locale` prop a [Locale](https://date-fns.org/docs/I18n) object imported from `date-fns`. For example, to localize the calendar in Spanish, import the `es` locale object from date-fns and pass it to the component.