Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/locales.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoeybloggs <dean.karn@gmail.com>2017-02-09 18:56:59 +0300
committerjoeybloggs <dean.karn@gmail.com>2017-02-09 18:56:59 +0300
commit7433bc2714ee97d97a4de5702bf99a055c464cef (patch)
tree4cb831175313f3688bafb7ce21da6d5368aedd15 /rules.go
parent273913d3b2ff7127452603d55dd3f6f888e4f268 (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.go16
1 files changed, 8 insertions, 8 deletions
diff --git a/rules.go b/rules.go
index 0231d5df..92029001 100644
--- a/rules.go
+++ b/rules.go
@@ -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
}