diff options
Diffstat (limited to 'en_AG')
-rw-r--r-- | en_AG/en_AG.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/en_AG/en_AG.go b/en_AG/en_AG.go index 518e3de7..9d298bcf 100644 --- a/en_AG/en_AG.go +++ b/en_AG/en_AG.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{"ACST": "Australian Central Standard Time", "AWDT": "Australian Western Daylight Time", "SRT": "Suriname Time", "CLT": "Chile Standard Time", "CLST": "Chile Summer Time", "WESZ": "Western European Summer Time", "JST": "Japan Standard Time", "WIT": "Eastern Indonesia Time", "EAT": "East Africa Time", "JDT": "Japan Daylight Time", "HAT": "Newfoundland Daylight Time", "TMT": "Turkmenistan Standard Time", "TMST": "Turkmenistan Summer Time", "AEST": "Australian Eastern Standard Time", "WAST": "West Africa Summer Time", "ECT": "Ecuador Time", "IST": "India Standard Time", "HKST": "Hong Kong Summer Time", "WARST": "Western Argentina Summer Time", "BOT": "Bolivia Time", "AKST": "Alaska Standard Time", "AWST": "Australian Western Standard Time", "ChST": "Chamorro Standard Time", "ACDT": "Australian Central Daylight Time", "PDT": "Pacific Daylight Time", "GMT": "Greenwich Mean Time", "MST": "Mountain Standard Time", "HKT": "Hong Kong Standard Time", "MESZ": "Central European Summer Time", "AKDT": "Alaska Daylight Time", "HADT": "Hawaii-Aleutian Daylight Time", "MEZ": "Central European Standard Time", "GYT": "Guyana Time", "ARST": "Argentina Summer Time", "WEZ": "Western European Standard Time", "GFT": "French Guiana Time", "AST": "Atlantic Standard Time", "WITA": "Central Indonesia Time", "ACWDT": "Australian Central Western Daylight Time", "MDT": "Mountain Daylight Time", "WART": "Western Argentina Standard Time", "WAT": "West Africa Standard Time", "ART": "Argentina Standard Time", "EST": "Eastern Standard Time", "SAST": "South Africa Standard Time", "COST": "Colombia Summer Time", "HNT": "Newfoundland Standard Time", "CHAST": "Chatham Standard Time", "WIB": "Western Indonesia Time", "COT": "Colombia Standard Time", "CHADT": "Chatham Daylight Time", "HAST": "Hawaii-Aleutian Standard Time", "OEZ": "Eastern European Standard Time", "LHST": "Lord Howe Standard Time", "LHDT": "Lord Howe Daylight Time", "NZST": "New Zealand Standard Time", "NZDT": "New Zealand Daylight Time", "VET": "Venezuela Time", "ADT": "Atlantic Daylight Time", "OESZ": "Eastern European Summer Time", "AEDT": "Australian Eastern Daylight Time", "PST": "Pacific Standard Time", "UYT": "Uruguay Standard Time", "UYST": "Uruguay Summer Time", "∅∅∅": "Brasilia Summer Time", "CDT": "Central Daylight Time", "SGT": "Singapore Standard Time", "ACWST": "Australian Central Western Standard Time", "CST": "Central Standard Time", "MYT": "Malaysia Time", "EDT": "Eastern Daylight Time", "CAT": "Central Africa Time", "BT": "Bhutan Time"}, + timezones: map[string]string{"HADT": "Hawaii-Aleutian Daylight Time", "SAST": "South Africa Standard Time", "MST": "Macau Standard Time", "CLT": "Chile Standard Time", "WESZ": "Western European Summer Time", "AEDT": "Australian Eastern Daylight Time", "BT": "Bhutan Time", "OEZ": "Eastern European Standard Time", "SRT": "Suriname Time", "LHST": "Lord Howe Standard Time", "CDT": "Central Daylight Time", "EDT": "Eastern Daylight Time", "∅∅∅": "Brasilia Summer Time", "ACDT": "Australian Central Daylight Time", "MYT": "Malaysia Time", "NZDT": "New Zealand Daylight Time", "AST": "Atlantic Standard Time", "SGT": "Singapore Standard Time", "GMT": "Greenwich Mean Time", "TMST": "Turkmenistan Summer Time", "AKDT": "Alaska Daylight Time", "PDT": "Pacific Daylight Time", "LHDT": "Lord Howe Daylight Time", "ACWDT": "Australian Central Western Daylight Time", "EST": "Eastern Standard Time", "WART": "Western Argentina Standard Time", "IST": "India Standard Time", "AKST": "Alaska Standard Time", "CST": "Central Standard Time", "CLST": "Chile Summer Time", "CAT": "Central Africa Time", "ADT": "Atlantic Daylight Time", "WITA": "Central Indonesia Time", "ARST": "Argentina Summer Time", "MESZ": "Central European Summer Time", "NZST": "New Zealand Standard Time", "ACWST": "Australian Central Western Standard Time", "CHADT": "Chatham Daylight Time", "COT": "Colombia Standard Time", "COST": "Colombia Summer Time", "MDT": "Macau Summer Time", "JST": "Japan Standard Time", "WARST": "Western Argentina Summer Time", "OESZ": "Eastern European Summer Time", "EAT": "East Africa Time", "UYT": "Uruguay Standard Time", "HNT": "Newfoundland Standard Time", "HAT": "Newfoundland Daylight Time", "ACST": "Australian Central Standard Time", "MEZ": "Central European Standard Time", "WEZ": "Western European Standard Time", "HKST": "Hong Kong Summer Time", "TMT": "Turkmenistan Standard Time", "GYT": "Guyana Time", "AEST": "Australian Eastern Standard Time", "HAST": "Hawaii-Aleutian Standard Time", "BOT": "Bolivia Time", "ECT": "Ecuador Time", "HKT": "Hong Kong Standard Time", "WIT": "Eastern Indonesia Time", "GFT": "French Guiana Time", "ART": "Argentina Standard Time", "PST": "Pacific Standard Time", "WIB": "Western Indonesia Time", "JDT": "Japan Daylight Time", "VET": "Venezuela Time", "CHAST": "Chatham Standard Time", "WAT": "West Africa Standard Time", "WAST": "West Africa Summer Time", "AWST": "Australian Western Standard Time", "AWDT": "Australian Western Daylight Time", "UYST": "Uruguay Summer Time", "ChST": "Chamorro Standard Time"}, } } @@ -112,8 +112,8 @@ func (en *en_AG) CardinalPluralRule(num float64, v uint64) locales.PluralRule { func (en *en_AG) OrdinalPluralRule(num float64, v uint64) locales.PluralRule { n := math.Abs(num) - nMod100 := math.Mod(n, 100) nMod10 := math.Mod(n, 10) + nMod100 := math.Mod(n, 100) if nMod10 == 1 && nMod100 != 11 { return locales.PluralRuleOne @@ -246,7 +246,7 @@ func (en *en_AG) FmtNumber(num float64, v uint64) string { // NOTE: 'num' passed into FmtPercent is assumed to be in percent already func (en *en_AG) 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-- { |