Numeral-js icon indicating copy to clipboard operation
Numeral-js copied to clipboard

reset to en-US

Open bonesoul opened this issue 3 years ago • 1 comments

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?

bonesoul avatar Sep 22 '22 10:09 bonesoul

anyone here having the same issue?

bonesoul avatar Oct 20 '22 01:10 bonesoul