Skip to content

Commit ea3781d

Browse files
Link to date format options documentation
1 parent bd9e8b7 commit ea3781d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/docs/plugins/locale.mdx

+2
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,8 @@ Note the format option of the global, locale's format and the one's being passed
362362
- `timeStyle` - The time formatting style.
363363
- `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".
364364

365+
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)
366+
365367
## Service API
366368

367369
- `localeChanges$` - Observable of the active locale.

0 commit comments

Comments
 (0)