diff options
author | Dean Karn <Dean.Karn@metricaid.com> | 2016-09-11 23:22:25 +0300 |
---|---|---|
committer | Dean Karn <Dean.Karn@metricaid.com> | 2016-09-11 23:22:25 +0300 |
commit | a75cdd71617f0998215f56f506ec9aabead36101 (patch) | |
tree | 5e2057a519c8cd8060a923888895c6285f74532b /en_NR/en_NR.go | |
parent | c83f384137b60783b605590315e9791a34829443 (diff) |
a few more low level optimizationsbytes-to-string
Diffstat (limited to 'en_NR/en_NR.go')
-rw-r--r-- | en_NR/en_NR.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/en_NR/en_NR.go b/en_NR/en_NR.go index d50a12f5..776e550c 100644 --- a/en_NR/en_NR.go +++ b/en_NR/en_NR.go @@ -71,7 +71,7 @@ func New() locales.Translator { erasAbbreviated: []string{"BC", "AD"}, erasNarrow: []string{"B", "A"}, erasWide: []string{"Before Christ", "Anno Domini"}, - timezones: map[string]string{"LHST": "Lord Howe Standard Time", "PDT": "Pacific Daylight Time", "SRT": "Suriname Time", "CLT": "Chile Standard Time", "JDT": "Japan Daylight Time", "WAST": "West Africa Summer Time", "GFT": "French Guiana Time", "TMST": "Turkmenistan Summer Time", "EDT": "Eastern Daylight Time", "HAST": "Hawaii-Aleutian Standard Time", "TMT": "Turkmenistan Standard Time", "UYST": "Uruguay Summer Time", "BT": "Bhutan Time", "WAT": "West Africa Standard Time", "COST": "Colombia Summer Time", "HAT": "Newfoundland Daylight Time", "PST": "Pacific Standard Time", "ECT": "Ecuador Time", "CHAST": "Chatham Standard Time", "ART": "Argentina Standard Time", "OESZ": "Eastern European Summer Time", "ACST": "Australian Central Standard Time", "WIB": "Western Indonesia Time", "∅∅∅": "Brasilia Summer Time", "AEST": "Australian Eastern Standard Time", "MESZ": "Central European Summer Time", "UYT": "Uruguay Standard Time", "WITA": "Central Indonesia Time", "BOT": "Bolivia Time", "VET": "Venezuela Time", "CST": "Central Standard Time", "MYT": "Malaysia Time", "HNT": "Newfoundland Standard Time", "HKST": "Hong Kong Summer Time", "GMT": "Greenwich Mean Time", "AST": "Atlantic Standard Time", "ACDT": "Australian Central Daylight Time", "AWDT": "Australian Western Daylight Time", "HKT": "Hong Kong Standard Time", "NZDT": "New Zealand Daylight Time", "MEZ": "Central European Standard Time", "WART": "Western Argentina Standard Time", "IST": "India Standard Time", "CAT": "Central Africa Time", "ACWDT": "Australian Central Western Daylight Time", "COT": "Colombia Standard Time", "AKST": "Alaska Standard Time", "ADT": "Atlantic Daylight Time", "CHADT": "Chatham Daylight Time", "EST": "Eastern Standard Time", "CLST": "Chile Summer Time", "WIT": "Eastern Indonesia Time", "ACWST": "Australian Central Western Standard Time", "WARST": "Western Argentina Summer Time", "WEZ": "Western European Standard Time", "HADT": "Hawaii-Aleutian Daylight Time", "OEZ": "Eastern European Standard Time", "AEDT": "Australian Eastern Daylight Time", "EAT": "East Africa Time", "GYT": "Guyana Time", "ARST": "Argentina Summer Time", "WESZ": "Western European Summer Time", "CDT": "Central Daylight Time", "SAST": "South Africa Standard Time", "LHDT": "Lord Howe Daylight Time", "NZST": "New Zealand Standard Time", "ChST": "Chamorro Standard Time", "MDT": "Mountain Daylight Time", "MST": "Mountain Standard Time", "JST": "Japan Standard Time", "AWST": "Australian Western Standard Time", "SGT": "Singapore Standard Time", "AKDT": "Alaska Daylight Time"}, + timezones: map[string]string{"CST": "Central Standard Time", "UYST": "Uruguay Summer Time", "WESZ": "Western European Summer Time", "ACWDT": "Australian Central Western Daylight Time", "CLT": "Chile Standard Time", "COST": "Colombia Summer Time", "HADT": "Hawaii-Aleutian Daylight Time", "IST": "India Standard Time", "WIB": "Western Indonesia Time", "ACST": "Australian Central Standard Time", "ACDT": "Australian Central Daylight Time", "ART": "Argentina Standard Time", "TMT": "Turkmenistan Standard Time", "LHDT": "Lord Howe Daylight Time", "JST": "Japan Standard Time", "AEDT": "Australian Eastern Daylight Time", "MST": "Mountain Standard Time", "CHADT": "Chatham Daylight Time", "VET": "Venezuela Time", "ECT": "Ecuador Time", "HNT": "Newfoundland Standard Time", "AKST": "Alaska Standard Time", "MESZ": "Central European Summer Time", "ChST": "Chamorro Standard Time", "CAT": "Central Africa Time", "OESZ": "Eastern European Summer Time", "SRT": "Suriname Time", "CLST": "Chile Summer Time", "EDT": "Eastern Daylight Time", "SAST": "South Africa Standard Time", "GYT": "Guyana Time", "BOT": "Bolivia Time", "WIT": "Eastern Indonesia Time", "AEST": "Australian Eastern Standard Time", "MDT": "Mountain Daylight Time", "ADT": "Atlantic Daylight Time", "GMT": "Greenwich Mean Time", "AKDT": "Alaska Daylight Time", "JDT": "Japan Daylight Time", "WAST": "West Africa Summer Time", "OEZ": "Eastern European Standard Time", "MYT": "Malaysia Time", "PDT": "Pacific Daylight Time", "NZST": "New Zealand Standard Time", "ACWST": "Australian Central Western Standard Time", "BT": "Bhutan Time", "HKT": "Hong Kong Standard Time", "CHAST": "Chatham Standard Time", "WARST": "Western Argentina Summer Time", "TMST": "Turkmenistan Summer Time", "CDT": "Central Daylight Time", "MEZ": "Central European Standard Time", "WEZ": "Western European Standard Time", "WAT": "West Africa Standard Time", "WART": "Western Argentina Standard Time", "GFT": "French Guiana Time", "EAT": "East Africa Time", "PST": "Pacific Standard Time", "EST": "Eastern Standard Time", "HKST": "Hong Kong Summer Time", "WITA": "Central Indonesia Time", "ARST": "Argentina Summer Time", "LHST": "Lord Howe Standard Time", "UYT": "Uruguay Standard Time", "HAST": "Hawaii-Aleutian Standard Time", "AWST": "Australian Western Standard Time", "COT": "Colombia Standard Time", "SGT": "Singapore Standard Time", "AWDT": "Australian Western Daylight Time", "∅∅∅": "Azores Summer Time", "NZDT": "New Zealand Daylight Time", "AST": "Atlantic Standard Time", "HAT": "Newfoundland Daylight Time"}, } } @@ -246,7 +246,7 @@ func (en *en_NR) FmtNumber(num float64, v uint64) string { // NOTE: 'num' passed into FmtPercent is assumed to be in percent already func (en *en_NR) FmtPercent(num float64, v uint64) string { s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64) - l := len(s) + len(en.decimal) + l := len(s) + 3 b := make([]byte, 0, l) for i := len(s) - 1; i >= 0; i-- { |