Skip to content

Commit

Permalink
docs: ✏️ Link to date format options documentation (#744)
Browse files Browse the repository at this point in the history
Co-authored-by: ScuroGuardiano <[email protected]>
  • Loading branch information
ScuroGuardiano and ScuroGuardiano authored Apr 19, 2024
1 parent 623b46f commit b192b81
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/docs/plugins/locale.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit b192b81

Please sign in to comment.