Numeral-js
Numeral-js copied to clipboard
reset to en-US
I do have a multilanguage site where I do switch to specific locales. Though on some pages I want to reset back to en-US but can't find the definition for it.
Currently I do use this:
import numeral from "numeral";
import "numeral/locales/en-gb";
numeral.locale("en"); // register numeral locale.
But i want to reset back to en-US, is it possible?
anyone here having the same issue?