diff options
author | joeybloggs <dean.karn@gmail.com> | 2017-02-09 18:56:59 +0300 |
---|---|---|
committer | joeybloggs <dean.karn@gmail.com> | 2017-02-09 18:56:59 +0300 |
commit | 7433bc2714ee97d97a4de5702bf99a055c464cef (patch) | |
tree | 4cb831175313f3688bafb7ce21da6d5368aedd15 /rules.go | |
parent | 273913d3b2ff7127452603d55dd3f6f888e4f268 (diff) |
Update to CLDR v30.0.3v30-cldr
- 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
Diffstat (limited to 'rules.go')
-rw-r--r-- | rules.go | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -129,28 +129,28 @@ type Translator interface { // in accounting notation. FmtAccounting(num float64, v uint64, currency currency.Type) string - // returns the short date representation of 't' for '{{ .Locale }}' + // returns the short date representation of 't' for locale FmtDateShort(t time.Time) string - // returns the medium date representation of 't' for '{{ .Locale }}' + // returns the medium date representation of 't' for locale FmtDateMedium(t time.Time) string - // returns the long date representation of 't' for '{{ .Locale }}' + // returns the long date representation of 't' for locale FmtDateLong(t time.Time) string - // returns the full date representation of 't' for '{{ .Locale }}' + // returns the full date representation of 't' for locale FmtDateFull(t time.Time) string - // returns the short time representation of 't' for '{{ .Locale }}' + // returns the short time representation of 't' for locale FmtTimeShort(t time.Time) string - // returns the medium time representation of 't' for '{{ .Locale }}' + // returns the medium time representation of 't' for locale FmtTimeMedium(t time.Time) string - // returns the long time representation of 't' for '{{ .Locale }}' + // returns the long time representation of 't' for locale FmtTimeLong(t time.Time) string - // returns the full time representation of 't' for '{{ .Locale }}' + // returns the full time representation of 't' for locale FmtTimeFull(t time.Time) string } |