From ea3781d1e18c2f4d28c07d5f63e0cad32e9854cb Mon Sep 17 00:00:00 2001 From: ScuroGuardiano Date: Sat, 27 Jan 2024 16:47:56 +0100 Subject: [PATCH] Link to date format options documentation --- docs/docs/plugins/locale.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/docs/plugins/locale.mdx b/docs/docs/plugins/locale.mdx index 5c5daefe1..52cf71052 100644 --- a/docs/docs/plugins/locale.mdx +++ b/docs/docs/plugins/locale.mdx @@ -362,6 +362,8 @@ Note the format option of the global, locale's format and the one's being passed - `timeStyle` - The time formatting style. - `timeZone` - The time zone to use. The only value implementations must recognize is "UTC"; the default is the runtime's default time zone. Implementations may also recognize the time zone names of the [IANA](https://www.iana.org/time-zones) time zone database, such as "Asia/Shanghai", "Asia/Kolkata", "America/New_York". +By default those options are passed to the native `Intl.DateTimeFormat`, full documentation for the options you can find [here](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat#options) + ## Service API - `localeChanges$` - Observable of the active locale.