Closed sshaw closed 5 years ago
It's the Globalize( "pt" )
or Globalize.locale( "pt" )
call that causes this.
Problem is lack of CLDR data (though this is still a bug, IMHO). Once one calls:
Globalize.load( require( "cldr-data" ).entireSupplemental() );
(or similar) this error is not encountered.
You only need to load the cldr/supplemental/likelySubtags
to fix that
You only need to load the cldr/supplemental/likelySubtags to fix that
:+1:
The action item is to improve https://github.com/rxaviers/cldrjs error handling.
I'm closing this issue. PR in cldrjs is welcome. Thanks
Versions:
Code:
I get the following: