Skip to content

Latest commit

 

History

History
18 lines (11 loc) · 602 Bytes

MIGRATION.md

File metadata and controls

18 lines (11 loc) · 602 Bytes

Migration from version 1.x

.locale() function removed.

If there're any .locale() static function calls then replace them with .addLocale().

flavours that got renamed.

If any custom styles were defined replace the following flavours in their definition:

  • short_convenient -> short-convenient
  • long_convenient -> long-convenient
  • short_time -> short-time
  • long_time -> long-time

RelativeTimeFormat is no longer exported

If RelativeTimeFormat was imported from javascript-time-ago then it must now be imported from relative-time-format instead.