Releases: go-playground/locales
Releases · go-playground/locales
Release 0.14.1
What was fixed?
Updated golang.org/x/text
dependency used ONLY as a dev dependency when generating the locale files. Thanks @YoheiKonno for the PR
Release 0.14.0
What's new?
- Updated to CLDR v36.0.1
Release 0.13.0
Converted to using go modules.
Release 0.12.1
What was fixed
a leftover debug caused ru_test.go test to fail, it was removed and all is passing again.
Release 0.12.0
Release 0.11.2
What was fixed?
Updated CLDR to 31.0.1;
Added test for russian;
Added methods Decimal, Group, Minus;
Refactoring: replaced
l := len(s) + 0 + 0len(s[:len(s)-int(v)-1])/3 => l := len(s) + 0;
t.Year()-1 => -t.Year()
Thanks @nicola-spb for the PR!
Release 0.11.1
What was fixed?
Corrected English inheritance
- old logic fell back to base locale when data could not be found; now it attempts to find via inheritance cross reference and then fallback if necessary.
Thanks @martin-css for reporting issue #7
Release 0.11.0
What was changed?
- Regenerated locale data from v30.0.3 CLDR data
- Added negative year check for FmtDataXXX functions with 4 digit years
- update ru_RU test to handle change of short date format from v29 dd.MM.yy to v30 dd.MM.y
Release 0.10.3
What was fixed
locale generation code was updated to try and use DefaultNumberingSystem
if it exists, fixed #5
Thanks @dvorakluk
Release 0.10.2
What was fixed?
- corrected handling of single quote in date formats, index was off
causing quotes to appear in date text - corrected bug in plurals rules
mod !=
rules were generatingmod10 < 12 && mod10 > 14
, when it should be(mod10 < 12 || mod10 > 14)
- added code to sort plural rules, no real issue just now print in order
- override Russian percent format CLDR contains space between
#
and%
but should be no space.
What was added?
Tests for ru_RU
(Russian) were added by @nikolay-turpitko thanks again!