Skip to content

Commit

Permalink
docs: update ICU docs
Browse files Browse the repository at this point in the history
  • Loading branch information
longlho committed Jan 18, 2021
1 parent 9fc2191 commit 469517b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions website/docs/core-concepts/icu-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Sometimes embedding how the number will be formatted provides great context to t
The price of this bagel is {num, number, ::sign-always compact-short currency/GBP}
```

You can read more about this [here](https://github.com/unicode-org/icu/blob/master/docs/userguide/format_parse/numbers/skeletons.md).
You can read more about this [here](https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html).

### `date` Type

Expand Down Expand Up @@ -92,7 +92,7 @@ Internally it uses the `Intl.DateTimeFormat` API. You can define custom values f

### Supported DateTime Skeleton

Similar to `number` type, we also support ICU DateTime skeleton. ICU provides a [wide array of pattern](https://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table) to customize date time format. However, not all of them are available via ECMA402's Intl API. Therefore, we only support the following patterns
Similar to `number` type, we also support ICU DateTime skeleton. ICU provides a [wide array of pattern](https://unicode-org.github.io/icu/userguide/format_parse/datetime/#date-field-symbol-table) to customize date time format. However, not all of them are available via ECMA402's Intl API. Therefore, we only support the following patterns

| Symbol | Meaning | Notes |
| ------ | ----------------------------- | ------------------------- |
Expand Down
2 changes: 1 addition & 1 deletion website/docs/intl-messageformat.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ new IntlMessageFormat(
).format({price: 100})
```

A full set of options and syntax can be found [here](https://github.com/unicode-org/icu/blob/master/docs/userguide/format_parse/numbers/skeletons.md)
A full set of options and syntax can be found [here](https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html)

#### Date/Time Skeleton

Expand Down
2 changes: 1 addition & 1 deletion website/docs/react-intl/upgrade-guide-3.x.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ This is especially beneficial in SSR where you can reuse the same `intl` object

## Message Format Syntax Changes

We've rewritten our parser to be more faithful to [ICU Message Format](https://unicode-org.github.io/icu-docs/apidoc/released/icu4j/com/ibm/icu/text/MessageFormat.html), in order to potentially support skeleton. So far the backwards-incompatible changes are:
We've rewritten our parser to be more faithful to [ICU Message Format](https://unicode-org.github.io/icu/userguide/format_parse/messages/), in order to potentially support skeleton. So far the backwards-incompatible changes are:

### Escape character has been changed to apostrophe (`'`).

Expand Down

0 comments on commit 469517b

Please sign in to comment.