go-playground / locales

:earth_americas: a set of locales generated from the CLDR Project which can be used independently or within an i18n package; these were built for use with, but not exclusive to https://github.com/go-playground/universal-translator
MIT License
268 stars 55 forks source link

Updated CLDR to 31.0.1; Added test for russian; Added methods Decimal… #16

Closed nicola-spb closed 6 years ago

nicola-spb commented 6 years ago

Updated CLDR to 31.0.1; Added test for russian; Added methods Decimal, Group, Minus; Refactoring: replaced
l := len(s) + 0 + 0*len(s[:len(s)-int(v)-1])/3 => l := len(s) + 0; t.Year()*-1 => -t.Year()

deankarn commented 6 years ago

Wow thanks @nicola-spb

I was literally in the middle of responding to your issues when this PR came in! I will review as soon as I can, hopefully within the next couple days at the latest.

I’ve been meaning to give this package some TLC I want to move it to use the CLDR JSON repos on github instead of the XML, but just haven’t been able to find the time.