Skip to content

Commit

Permalink
Link to date format options documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ScuroGuardiano committed Jan 27, 2024
1 parent bd9e8b7 commit ea3781d
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 ea3781d

Please sign in to comment.