Skip to content

Releases: go-playground/locales

Release 0.14.1

05 Jan 16:09
ce315c8
Compare
Choose a tag to compare

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

08 Aug 22:09
52f01e0
Compare
Choose a tag to compare

What's new?

  • Updated to CLDR v36.0.1

Release 0.13.0

18 Oct 04:59
9f10523
Compare
Choose a tag to compare

Converted to using go modules.

Release 0.12.1

23 Mar 16:05
Compare
Choose a tag to compare

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

22 Mar 15:55
2838593
Compare
Choose a tag to compare

What's new?

Updating to CLDR 32.0.1 thanks @vvohra for the PR #20

Release 0.11.2

14 Oct 05:55
Compare
Choose a tag to compare

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

15 Feb 17:11
Compare
Choose a tag to compare

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

09 Feb 16:06
Compare
Choose a tag to compare

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

23 Nov 02:29
Compare
Choose a tag to compare

What was fixed

locale generation code was updated to try and use DefaultNumberingSystem if it exists, fixed #5

Thanks @dvorakluk

Release 0.10.2

08 Nov 16:26
Compare
Choose a tag to compare

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 generating mod10 < 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!