You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
This release switches to track the Numeral.js 2.x branch. There are several breaking changes, both in Numeral.js itself as well as this library. If you need compatibility with Numeral.js 1.x, please use the latest angular-numeraljs 1.x release (code on the 1.x branch).
Features
Upgrade to Numeral.js 2.x
Fixed indentation to match EditorConfig settings
Upgraded Karma & related test dependencies
Breaking Changes
$numeraljsConfigProvider's interface has been modified to better match Numeral.js:
$numeraljsConfigProvider.setCurrentLanguage(lang) has been renamed to locale(locale)
$numeraljsConfigProvider.setDefaultFormat(format) has been renamed to defaultFormat(format)
$numeraljsConfigProvider.setFormat(name, formatString) has been renamed to namedFormat(name, formatString)
$numeraljsConfigProvider.setLanguage(lang, def) has been renamed to register('locale', name, def)