diff options
author | joeybloggs <Dean.Karn@gmail.com> | 2016-08-18 16:27:45 +0300 |
---|---|---|
committer | joeybloggs <Dean.Karn@gmail.com> | 2016-08-18 16:27:45 +0300 |
commit | 4d5203f4ffe923766592cb84db404040cff387e9 (patch) | |
tree | 910900599d6ca42398ebff7c47b36779d9d74bd5 /pt_BR | |
parent | 936167fec07f617d1236bcc41e24702a75a3be92 (diff) |
Add timezone logic + locale specific info
Diffstat (limited to 'pt_BR')
-rw-r--r-- | pt_BR/pt_BR.go | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pt_BR/pt_BR.go b/pt_BR/pt_BR.go index fe257f30..b190438b 100644 --- a/pt_BR/pt_BR.go +++ b/pt_BR/pt_BR.go @@ -42,6 +42,7 @@ type pt_BR struct { erasAbbreviated [][]byte erasNarrow [][]byte erasWide [][]byte + timezones map[string][]byte } // New returns a new instance of translator for the 'pt_BR' locale @@ -73,6 +74,7 @@ func New() locales.Translator { erasAbbreviated: [][]uint8{{0x61, 0x2e, 0x43, 0x2e}, {0x64, 0x2e, 0x43, 0x2e}}, erasNarrow: [][]uint8{[]uint8(nil), []uint8(nil)}, erasWide: [][]uint8{{0x61, 0x6e, 0x74, 0x65, 0x73, 0x20, 0x64, 0x65, 0x20, 0x43, 0x72, 0x69, 0x73, 0x74, 0x6f}, {0x64, 0x65, 0x70, 0x6f, 0x69, 0x73, 0x20, 0x64, 0x65, 0x20, 0x43, 0x72, 0x69, 0x73, 0x74, 0x6f}}, + timezones: map[string][]uint8{"GFT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x47, 0x75, 0x69, 0x61, 0x6e, 0x61, 0x20, 0x46, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x61}, "GMT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x6f, 0x20, 0x4d, 0x65, 0x72, 0x69, 0x64, 0x69, 0x61, 0x6e, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x47, 0x72, 0x65, 0x65, 0x6e, 0x77, 0x69, 0x63, 0x68}, "GYT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x47, 0x75, 0x69, 0x61, 0x6e, 0x61}, "ACWDT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x56, 0x65, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x41, 0x75, 0x73, 0x74, 0x72, 0xc3, 0xa1, 0x6c, 0x69, 0x61, 0x20, 0x43, 0x65, 0x6e, 0x74, 0x72, 0x6f, 0x2d, 0x4f, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x61, 0x6c}, "WITA": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x49, 0x6e, 0x64, 0x6f, 0x6e, 0xc3, 0xa9, 0x73, 0x69, 0x61, 0x20, 0x43, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c}, "OESZ": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x56, 0x65, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x45, 0x75, 0x72, 0x6f, 0x70, 0x61, 0x20, 0x4f, 0x72, 0x69, 0x65, 0x6e, 0x74, 0x61, 0x6c}, "AWDT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x56, 0x65, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x41, 0x75, 0x73, 0x74, 0x72, 0xc3, 0xa1, 0x6c, 0x69, 0x61, 0x20, 0x4f, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x61, 0x6c}, "ChST": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x43, 0x68, 0x61, 0x6d, 0x6f, 0x72, 0x72, 0x6f}, "WIB": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x49, 0x6e, 0x64, 0x6f, 0x6e, 0xc3, 0xa9, 0x73, 0x69, 0x61, 0x20, 0x4f, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x61, 0x6c}, "WEZ": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x50, 0x61, 0x64, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x45, 0x75, 0x72, 0x6f, 0x70, 0x61, 0x20, 0x4f, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x61, 0x6c}, "LHST": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x50, 0x61, 0x64, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x4c, 0x6f, 0x72, 0x64, 0x20, 0x48, 0x6f, 0x77, 0x65}, "EST": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x50, 0x61, 0x64, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x4f, 0x72, 0x69, 0x65, 0x6e, 0x74, 0x61, 0x6c}, "CHAST": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x50, 0x61, 0x64, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x43, 0x68, 0x61, 0x74, 0x68, 0x61, 0x6d}, "CAT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x61, 0x20, 0xc3, 0x81, 0x66, 0x72, 0x69, 0x63, 0x61, 0x20, 0x43, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c}, "IST": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x50, 0x61, 0x64, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x61, 0x20, 0xc3, 0x8d, 0x6e, 0x64, 0x69, 0x61}, "ACWST": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x50, 0x61, 0x64, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x41, 0x75, 0x73, 0x74, 0x72, 0xc3, 0xa1, 0x6c, 0x69, 0x61, 0x20, 0x43, 0x65, 0x6e, 0x74, 0x72, 0x6f, 0x2d, 0x4f, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x61, 0x6c}, "JDT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x56, 0x65, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x6f, 0x20, 0x4a, 0x61, 0x70, 0xc3, 0xa3, 0x6f}, "ART": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x50, 0x61, 0x64, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x41, 0x72, 0x67, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x61}, "CLT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x50, 0x61, 0x64, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x6f, 0x20, 0x43, 0x68, 0x69, 0x6c, 0x65}, "∅∅∅": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x56, 0x65, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x6f, 0x20, 0x41, 0x6d, 0x61, 0x7a, 0x6f, 0x6e, 0x61, 0x73}, "HKT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x50, 0x61, 0x64, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x48, 0x6f, 0x6e, 0x67, 0x20, 0x4b, 0x6f, 0x6e, 0x67}, "WESZ": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x56, 0x65, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x45, 0x75, 0x72, 0x6f, 0x70, 0x61, 0x20, 0x4f, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x61, 0x6c}, "SRT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x6f, 0x20, 0x53, 0x75, 0x72, 0x69, 0x6e, 0x61, 0x6d, 0x65}, "MDT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x56, 0x65, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x4d, 0x6f, 0x6e, 0x74, 0x61, 0x6e, 0x68, 0x61}, "HAT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x56, 0x65, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x54, 0x65, 0x72, 0x72, 0x61, 0x20, 0x4e, 0x6f, 0x76, 0x61}, "BT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x6f, 0x20, 0x42, 0x75, 0x74, 0xc3, 0xa3, 0x6f}, "ACDT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x56, 0x65, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x41, 0x75, 0x73, 0x74, 0x72, 0xc3, 0xa1, 0x6c, 0x69, 0x61, 0x20, 0x43, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c}, "SAST": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x61, 0x20, 0xc3, 0x81, 0x66, 0x72, 0x69, 0x63, 0x61, 0x20, 0x64, 0x6f, 0x20, 0x53, 0x75, 0x6c}, "CHADT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x56, 0x65, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x43, 0x68, 0x61, 0x74, 0x68, 0x61, 0x6d}, "ADT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x56, 0x65, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x6f, 0x20, 0x41, 0x74, 0x6c, 0xc3, 0xa2, 0x6e, 0x74, 0x69, 0x63, 0x6f}, "COT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x50, 0x61, 0x64, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x43, 0x6f, 0x6c, 0xc3, 0xb4, 0x6d, 0x62, 0x69, 0x61}, "ECT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x6f, 0x20, 0x45, 0x71, 0x75, 0x61, 0x64, 0x6f, 0x72}, "AEDT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x56, 0x65, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x41, 0x75, 0x73, 0x74, 0x72, 0xc3, 0xa1, 0x6c, 0x69, 0x61, 0x20, 0x4f, 0x72, 0x69, 0x65, 0x6e, 0x74, 0x61, 0x6c}, "TMST": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x56, 0x65, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x6f, 0x20, 0x54, 0x75, 0x72, 0x63, 0x6f, 0x6d, 0x65, 0x6e, 0x69, 0x73, 0x74, 0xc3, 0xa3, 0x6f}, "MESZ": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x56, 0x65, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x45, 0x75, 0x72, 0x6f, 0x70, 0x61, 0x20, 0x43, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c}, "UYST": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x56, 0x65, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x6f, 0x20, 0x55, 0x72, 0x75, 0x67, 0x75, 0x61, 0x69}, "COST": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x56, 0x65, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x43, 0x6f, 0x6c, 0xc3, 0xb4, 0x6d, 0x62, 0x69, 0x61}, "CST": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x50, 0x61, 0x64, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x43, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c}, "HKST": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x56, 0x65, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x48, 0x6f, 0x6e, 0x67, 0x20, 0x4b, 0x6f, 0x6e, 0x67}, "WART": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x50, 0x61, 0x64, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x41, 0x72, 0x67, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x61, 0x20, 0x4f, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x61, 0x6c}, "MST": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x50, 0x61, 0x64, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x4d, 0x6f, 0x6e, 0x74, 0x61, 0x6e, 0x68, 0x61}, "BOT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x42, 0x6f, 0x6c, 0xc3, 0xad, 0x76, 0x69, 0x61}, "HADT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x56, 0x65, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x6f, 0x20, 0x48, 0x61, 0x76, 0x61, 0xc3, 0xad, 0x20, 0x65, 0x20, 0x49, 0x6c, 0x68, 0x61, 0x73, 0x20, 0x41, 0x6c, 0x65, 0x75, 0x74, 0x61, 0x73}, "LHDT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x56, 0x65, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x4c, 0x6f, 0x72, 0x64, 0x20, 0x48, 0x6f, 0x77, 0x65}, "AEST": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x50, 0x61, 0x64, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x41, 0x75, 0x73, 0x74, 0x72, 0xc3, 0xa1, 0x6c, 0x69, 0x61, 0x20, 0x4f, 0x72, 0x69, 0x65, 0x6e, 0x74, 0x61, 0x6c}, "AKST": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x50, 0x61, 0x64, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x6f, 0x20, 0x41, 0x6c, 0x61, 0x73, 0x63, 0x61}, "MEZ": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x50, 0x61, 0x64, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x45, 0x75, 0x72, 0x6f, 0x70, 0x61, 0x20, 0x43, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c}, "CDT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x56, 0x65, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x43, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c}, "PST": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x50, 0x61, 0x64, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x6f, 0x20, 0x50, 0x61, 0x63, 0xc3, 0xad, 0x66, 0x69, 0x63, 0x6f}, "JST": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x50, 0x61, 0x64, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x6f, 0x20, 0x4a, 0x61, 0x70, 0xc3, 0xa3, 0x6f}, "VET": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x56, 0x65, 0x6e, 0x65, 0x7a, 0x75, 0x65, 0x6c, 0x61}, "ARST": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x56, 0x65, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x41, 0x72, 0x67, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x61}, "WARST": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x56, 0x65, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x41, 0x72, 0x67, 0x65, 0x6e, 0x74, 0x69, 0x6e, 0x61, 0x20, 0x4f, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x61, 0x6c}, "EAT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x61, 0x20, 0xc3, 0x81, 0x66, 0x72, 0x69, 0x63, 0x61, 0x20, 0x4f, 0x72, 0x69, 0x65, 0x6e, 0x74, 0x61, 0x6c}, "AWST": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x50, 0x61, 0x64, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x41, 0x75, 0x73, 0x74, 0x72, 0xc3, 0xa1, 0x6c, 0x69, 0x61, 0x20, 0x4f, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x61, 0x6c}, "NZDT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x56, 0x65, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x4e, 0x6f, 0x76, 0x61, 0x20, 0x5a, 0x65, 0x6c, 0xc3, 0xa2, 0x6e, 0x64, 0x69, 0x61}, "UYT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x50, 0x61, 0x64, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x6f, 0x20, 0x55, 0x72, 0x75, 0x67, 0x75, 0x61, 0x69}, "OEZ": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x50, 0x61, 0x64, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x45, 0x75, 0x72, 0x6f, 0x70, 0x61, 0x20, 0x4f, 0x72, 0x69, 0x65, 0x6e, 0x74, 0x61, 0x6c}, "SGT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x50, 0x61, 0x64, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x43, 0x69, 0x6e, 0x67, 0x61, 0x70, 0x75, 0x72, 0x61}, "WIT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x49, 0x6e, 0x64, 0x6f, 0x6e, 0xc3, 0xa9, 0x73, 0x69, 0x61, 0x20, 0x4f, 0x72, 0x69, 0x65, 0x6e, 0x74, 0x61, 0x6c}, "AST": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x50, 0x61, 0x64, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x6f, 0x20, 0x41, 0x74, 0x6c, 0xc3, 0xa2, 0x6e, 0x74, 0x69, 0x63, 0x6f}, "WAT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x50, 0x61, 0x64, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x61, 0x20, 0xc3, 0x81, 0x66, 0x72, 0x69, 0x63, 0x61, 0x20, 0x4f, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x61, 0x6c}, "WAST": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x56, 0x65, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x61, 0x20, 0xc3, 0x81, 0x66, 0x72, 0x69, 0x63, 0x61, 0x20, 0x4f, 0x63, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x61, 0x6c}, "HAST": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x50, 0x61, 0x64, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x6f, 0x20, 0x48, 0x61, 0x76, 0x61, 0xc3, 0xad, 0x20, 0x65, 0x20, 0x49, 0x6c, 0x68, 0x61, 0x73, 0x20, 0x41, 0x6c, 0x65, 0x75, 0x74, 0x61, 0x73}, "ACST": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x50, 0x61, 0x64, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x41, 0x75, 0x73, 0x74, 0x72, 0xc3, 0xa1, 0x6c, 0x69, 0x61, 0x20, 0x43, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c}, "CLST": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x56, 0x65, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x6f, 0x20, 0x43, 0x68, 0x69, 0x6c, 0x65}, "TMT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x50, 0x61, 0x64, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x6f, 0x20, 0x54, 0x75, 0x72, 0x63, 0x6f, 0x6d, 0x65, 0x6e, 0x69, 0x73, 0x74, 0xc3, 0xa3, 0x6f}, "AKDT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x56, 0x65, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x6f, 0x20, 0x41, 0x6c, 0x61, 0x73, 0x63, 0x61}, "NZST": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x50, 0x61, 0x64, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x4e, 0x6f, 0x76, 0x61, 0x20, 0x5a, 0x65, 0x6c, 0xc3, 0xa2, 0x6e, 0x64, 0x69, 0x61}, "PDT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x56, 0x65, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x6f, 0x20, 0x50, 0x61, 0x63, 0xc3, 0xad, 0x66, 0x69, 0x63, 0x6f}, "MYT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x61, 0x20, 0x4d, 0x61, 0x6c, 0xc3, 0xa1, 0x73, 0x69, 0x61}, "EDT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x56, 0x65, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x4f, 0x72, 0x69, 0x65, 0x6e, 0x74, 0x61, 0x6c}, "HNT": {0x48, 0x6f, 0x72, 0xc3, 0xa1, 0x72, 0x69, 0x6f, 0x20, 0x50, 0x61, 0x64, 0x72, 0xc3, 0xa3, 0x6f, 0x20, 0x64, 0x65, 0x20, 0x54, 0x65, 0x72, 0x72, 0x61, 0x20, 0x4e, 0x6f, 0x76, 0x61}}, } } @@ -529,7 +531,11 @@ func (pt *pt_BR) FmtTimeFull(t time.Time) []byte { b = append(b, []byte{0x20}...) tz, _ := t.Zone() - b = append(b, tz...) + if btz, ok := pt.timezones[tz]; ok { + b = append(b, btz...) + } else { + b = append(b, tz...) + } return b } |