1 | # Migration from version `1.x`
|
2 |
|
3 | ### `.locale()` function removed.
|
4 |
|
5 | If there're any `.locale()` static function calls then replace them with `.addLocale()`.
|
6 |
|
7 | ### `flavour`s that got renamed.
|
8 |
|
9 | If any custom styles were defined replace the following `flavour`s in their definition:
|
10 |
|
11 | * `short_convenient` -> `short-convenient`
|
12 | * `long_convenient` -> `long-convenient`
|
13 | * `short_time` -> `short-time`
|
14 | * `long_time` -> `long-time`
|
15 |
|
16 | ### `RelativeTimeFormat` is no longer exported
|
17 |
|
18 | If `RelativeTimeFormat` was imported from `javascript-time-ago` then it must now be imported from `relative-time-format` instead. |
\ | No newline at end of file |