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
First, let me thank you for this beautiful package.
I think there is missing check for the length of decimal, group and minus fields used for number formatting, as I'm getting runtime error: index out of range with locales/cs.(*cs).FmtCurrency
If these are not available in the cldr data, locales package should not panic.
But if I look into the cldr, i see them there (for cs.xml), so there probably some problem with parsing them? Have you opensourced the parser/generator?
The text was updated successfully, but these errors were encountered:
just a heads up the code is more to get it generated and is not very refined yet (wanted to wait until there were tests for all languages before refining)
I left some things to panic because if the information isn't there, then that locale shouldn't be used and didn't want to give someone a false sense that it was working, when in fact the data to do so is missing; but if the info is there, there very well may be a problem.
My fault, I have overlooked it in the bunch of folders :)
Please take a look at the PR, it should parse the info where available and thus resolve this issue.
First, let me thank you for this beautiful package.
I think there is missing check for the length of decimal, group and minus fields used for number formatting, as I'm getting
runtime error: index out of range
withlocales/cs.(*cs).FmtCurrency
If these are not available in the cldr data, locales package should not panic.
But if I look into the cldr, i see them there (for cs.xml), so there probably some problem with parsing them? Have you opensourced the parser/generator?
The text was updated successfully, but these errors were encountered: