diff options
Diffstat (limited to 'ga')
-rw-r--r-- | ga/ga.go | 58 |
1 files changed, 57 insertions, 1 deletions
@@ -74,7 +74,7 @@ func New() locales.Translator { erasAbbreviated: [][]uint8{{0x52, 0x43}, {0x41, 0x44}}, erasNarrow: [][]uint8{{0x52, 0x43}, {0x41, 0x44}}, erasWide: [][]uint8{{0x52, 0x6f, 0x69, 0x6d, 0x68, 0x20, 0x43, 0x68, 0x72, 0xc3, 0xad, 0x6f, 0x73, 0x74}, {0x41, 0x6e, 0x6e, 0x6f, 0x20, 0x44, 0x6f, 0x6d, 0x69, 0x6e, 0x69}}, - timezones: map[string][]uint8{"WESZ": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x49, 0x61, 0x72, 0x74, 0x68, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x45, 0x6f, 0x72, 0x70, 0x61}, "∅∅∅": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x42, 0x68, 0x72, 0x61, 0x73, 0xc3, 0xad, 0x6c, 0x69, 0x61}, "MESZ": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x4c, 0xc3, 0xa1, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x45, 0x6f, 0x72, 0x70, 0x61}, "HAST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x48, 0x61, 0x76, 0xc3, 0xa1, 0xc3, 0xad, 0x2d, 0x41, 0x69, 0x6c, 0x69, 0xc3, 0xba, 0x69, 0x74}, "COT": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x43, 0x6f, 0x6c, 0xc3, 0xb3, 0x69, 0x6d, 0x65}, "GFT": {0x41, 0x6d, 0x20, 0x47, 0x68, 0x75, 0xc3, 0xa1, 0x69, 0x6e, 0x20, 0x6e, 0x61, 0x20, 0x46, 0x72, 0x61, 0x69, 0x6e, 0x63, 0x65}, "NZDT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x4e, 0x75, 0x61, 0x2d, 0x53, 0x68, 0xc3, 0xa9, 0x61, 0x6c, 0x61, 0x69, 0x6e, 0x6e, 0x65}, "ACDT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x4c, 0xc3, 0xa1, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x73, 0x74, 0x72, 0xc3, 0xa1, 0x69, 0x6c, 0x65}, "MDT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x4d, 0x68, 0x61, 0x63, 0x61, 0x6f}, "AWST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x49, 0x61, 0x72, 0x74, 0x68, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x73, 0x74, 0x72, 0xc3, 0xa1, 0x69, 0x6c, 0x65}, "ACWST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x4d, 0x68, 0x65, 0xc3, 0xa1, 0x6e, 0x69, 0x61, 0x72, 0x74, 0x68, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x73, 0x74, 0x72, 0xc3, 0xa1, 0x69, 0x6c, 0x65}, "LHDT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x4c, 0x6f, 0x72, 0x64, 0x20, 0x48, 0x6f, 0x77, 0x65}, "EAT": {0x41, 0x6d, 0x20, 0x4f, 0x69, 0x72, 0x74, 0x68, 0x65, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x66, 0x72, 0x61, 0x69, 0x63, 0x65}, "AKST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x41, 0x6c, 0x61, 0x73, 0x63, 0x61}, "BT": {0x41, 0x6d, 0x20, 0x6e, 0x61, 0x20, 0x42, 0xc3, 0xba, 0x74, 0xc3, 0xa1, 0x69, 0x6e, 0x65}, "ACST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x4c, 0xc3, 0xa1, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x73, 0x74, 0x72, 0xc3, 0xa1, 0x69, 0x6c, 0x65}, "WIB": {0x41, 0x6d, 0x20, 0x49, 0x61, 0x72, 0x74, 0x68, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x49, 0x6e, 0x64, 0x69, 0x6e, 0xc3, 0xa9, 0x69, 0x73, 0x65}, "SRT": {0x41, 0x6d, 0x20, 0x53, 0x68, 0x75, 0x72, 0x61, 0x6e, 0x61, 0x6d}, "WIT": {0x41, 0x6d, 0x20, 0x4f, 0x69, 0x72, 0x74, 0x68, 0x65, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x49, 0x6e, 0x64, 0x69, 0x6e, 0xc3, 0xa9, 0x69, 0x73, 0x65}, "AKDT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x41, 0x6c, 0x61, 0x73, 0x63, 0x61}, "PST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x61, 0x6e, 0x20, 0x41, 0x69, 0x67, 0xc3, 0xa9, 0x69, 0x6e, 0x20, 0x43, 0x68, 0x69, 0xc3, 0xba, 0x69, 0x6e}, "HAT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x54, 0x68, 0x61, 0x6c, 0x61, 0x6d, 0x68, 0x20, 0x61, 0x6e, 0x20, 0xc3, 0x89, 0x69, 0x73, 0x63}, "TMT": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x54, 0x75, 0x69, 0x72, 0x63, 0x6d, 0xc3, 0xa9, 0x61, 0x6e, 0x61, 0x73, 0x74, 0xc3, 0xa1, 0x69, 0x6e, 0x65}, "VET": {0x41, 0x6d, 0x20, 0x56, 0x65, 0x69, 0x6e, 0x69, 0x73, 0xc3, 0xa9, 0x61, 0x6c, 0x61}, "WAST": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x49, 0x61, 0x72, 0x74, 0x68, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x66, 0x72, 0x61, 0x69, 0x63, 0x65}, "EDT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x61, 0x6e, 0x20, 0x4f, 0x69, 0x72, 0x74, 0x68, 0x69, 0x72}, "JDT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x53, 0x65, 0x61, 0x70, 0xc3, 0xa1, 0x69, 0x6e, 0x65}, "AWDT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x49, 0x61, 0x72, 0x74, 0x68, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x73, 0x74, 0x72, 0xc3, 0xa1, 0x69, 0x6c, 0x65}, "ADT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x61, 0x6e, 0x20, 0x41, 0x74, 0x6c, 0x61, 0x6e, 0x74, 0x61, 0x69, 0x67, 0x68}, "GMT": {0x4d, 0x65, 0xc3, 0xa1, 0x6e, 0x2d, 0x41, 0x6d, 0x20, 0x47, 0x72, 0x65, 0x65, 0x6e, 0x77, 0x69, 0x63, 0x68}, "COST": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x43, 0x6f, 0x6c, 0xc3, 0xb3, 0x69, 0x6d, 0x65}, "WARST": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x49, 0x61, 0x72, 0x74, 0x68, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x69, 0x72, 0x67, 0x69, 0x6e, 0x74, 0xc3, 0xad, 0x6e, 0x65}, "AST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x61, 0x6e, 0x20, 0x41, 0x74, 0x6c, 0x61, 0x6e, 0x74, 0x61, 0x69, 0x67, 0x68}, "BOT": {0x41, 0x6d, 0x20, 0x6e, 0x61, 0x20, 0x42, 0x6f, 0x6c, 0x61, 0x69, 0x76, 0x65}, "WAT": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x49, 0x61, 0x72, 0x74, 0x68, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x66, 0x72, 0x61, 0x69, 0x63, 0x65}, "UYST": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x55, 0x72, 0x61, 0x67, 0x75, 0x61}, "HKST": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x48, 0x6f, 0x6e, 0x67, 0x20, 0x43, 0x6f, 0x6e, 0x67}, "AEST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x4f, 0x69, 0x72, 0x74, 0x68, 0x65, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x73, 0x74, 0x72, 0xc3, 0xa1, 0x69, 0x6c, 0x65}, "HNT": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x54, 0x68, 0x61, 0x6c, 0x61, 0x6d, 0x68, 0x20, 0x61, 0x6e, 0x20, 0xc3, 0x89, 0x69, 0x73, 0x63}, "HADT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x48, 0x61, 0x76, 0xc3, 0xa1, 0xc3, 0xad, 0x2d, 0x41, 0x69, 0x6c, 0x69, 0xc3, 0xba, 0x69, 0x74}, "UYT": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x55, 0x72, 0x61, 0x67, 0x75, 0x61}, "CST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x4c, 0xc3, 0xa1, 0x72, 0x6e, 0x61, 0x63, 0x68}, "MST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x4d, 0x68, 0x61, 0x63, 0x61, 0x6f}, "IST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x49, 0x6e, 0x64, 0x69, 0x61}, "ART": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x69, 0x72, 0x67, 0x69, 0x6e, 0x74, 0xc3, 0xad, 0x6e, 0x65}, "EST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x61, 0x6e, 0x20, 0x4f, 0x69, 0x72, 0x74, 0x68, 0x69, 0x72}, "CHAST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x43, 0x68, 0x61, 0x74, 0x68, 0x61, 0x6d}, "NZST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x4e, 0x75, 0x61, 0x2d, 0x53, 0x68, 0xc3, 0xa9, 0x61, 0x6c, 0x61, 0x69, 0x6e, 0x6e, 0x65}, "LHST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x4c, 0x6f, 0x72, 0x64, 0x20, 0x48, 0x6f, 0x77, 0x65}, "HKT": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x48, 0x6f, 0x6e, 0x67, 0x20, 0x43, 0x6f, 0x6e, 0x67}, "CLST": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x53, 0x69, 0x6c, 0x65}, "SAST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x66, 0x72, 0x61, 0x69, 0x63, 0x65, 0x20, 0x54, 0x68, 0x65, 0x61, 0x73}, "GYT": {0x41, 0x6d, 0x20, 0x6e, 0x61, 0x20, 0x47, 0x75, 0xc3, 0xa1, 0x69, 0x6e, 0x65}, "JST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x53, 0x65, 0x61, 0x70, 0xc3, 0xa1, 0x69, 0x6e, 0x65}, "MEZ": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x4c, 0xc3, 0xa1, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x45, 0x6f, 0x72, 0x70, 0x61}, "CAT": {0x41, 0x6d, 0x20, 0x4c, 0xc3, 0xa1, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x66, 0x72, 0x61, 0x69, 0x63, 0x65}, "SGT": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x53, 0x68, 0x69, 0x6e, 0x67, 0x65, 0x61, 0x70, 0xc3, 0xb3, 0x72}, "ECT": {0x41, 0x6d, 0x20, 0x45, 0x61, 0x63, 0x75, 0x61, 0x64, 0xc3, 0xb3, 0x72}, "CHADT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x43, 0x68, 0x61, 0x74, 0x68, 0x61, 0x6d}, "ChST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x53, 0x65, 0x61, 0x6d, 0xc3, 0xb3, 0x72, 0x61, 0x63, 0x68}, "WITA": {0x41, 0x6d, 0x20, 0x4c, 0xc3, 0xa1, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x49, 0x6e, 0x64, 0x69, 0x6e, 0xc3, 0xa9, 0x69, 0x73, 0x65}, "ACWDT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x4d, 0x68, 0x65, 0xc3, 0xa1, 0x6e, 0x69, 0x61, 0x72, 0x74, 0x68, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x73, 0x74, 0x72, 0xc3, 0xa1, 0x69, 0x6c, 0x65}, "MYT": {0x41, 0x6d, 0x20, 0x6e, 0x61, 0x20, 0x4d, 0x61, 0x6c, 0x61, 0x65, 0x69, 0x73, 0x69, 0x61}, "AEDT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x4f, 0x69, 0x72, 0x74, 0x68, 0x65, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x73, 0x74, 0x72, 0xc3, 0xa1, 0x69, 0x6c, 0x65}, "PDT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x61, 0x6e, 0x20, 0x41, 0x69, 0x67, 0xc3, 0xa9, 0x69, 0x6e, 0x20, 0x43, 0x68, 0x69, 0xc3, 0xba, 0x69, 0x6e}, "WART": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x49, 0x61, 0x72, 0x74, 0x68, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x69, 0x72, 0x67, 0x69, 0x6e, 0x74, 0xc3, 0xad, 0x6e, 0x65}, "WEZ": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x49, 0x61, 0x72, 0x74, 0x68, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x45, 0x6f, 0x72, 0x70, 0x61}, "TMST": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x54, 0x75, 0x69, 0x72, 0x63, 0x6d, 0xc3, 0xa9, 0x61, 0x6e, 0x61, 0x73, 0x74, 0xc3, 0xa1, 0x69, 0x6e, 0x65}, "ARST": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x69, 0x72, 0x67, 0x69, 0x6e, 0x74, 0xc3, 0xad, 0x6e, 0x65}, "CDT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x4c, 0xc3, 0xa1, 0x72, 0x6e, 0x61, 0x63, 0x68}, "CLT": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x53, 0x69, 0x6c, 0x65}, "OEZ": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x4f, 0x69, 0x72, 0x74, 0x68, 0x65, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x45, 0x6f, 0x72, 0x70, 0x61}, "OESZ": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x4f, 0x69, 0x72, 0x74, 0x68, 0x65, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x45, 0x6f, 0x72, 0x70, 0x61}}, + timezones: map[string][]uint8{"EAT": {0x41, 0x6d, 0x20, 0x4f, 0x69, 0x72, 0x74, 0x68, 0x65, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x66, 0x72, 0x61, 0x69, 0x63, 0x65}, "SAST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x66, 0x72, 0x61, 0x69, 0x63, 0x65, 0x20, 0x54, 0x68, 0x65, 0x61, 0x73}, "TMST": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x54, 0x75, 0x69, 0x72, 0x63, 0x6d, 0xc3, 0xa9, 0x61, 0x6e, 0x61, 0x73, 0x74, 0xc3, 0xa1, 0x69, 0x6e, 0x65}, "ACWDT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x4d, 0x68, 0x65, 0xc3, 0xa1, 0x6e, 0x69, 0x61, 0x72, 0x74, 0x68, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x73, 0x74, 0x72, 0xc3, 0xa1, 0x69, 0x6c, 0x65}, "OESZ": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x4f, 0x69, 0x72, 0x74, 0x68, 0x65, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x45, 0x6f, 0x72, 0x70, 0x61}, "WARST": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x49, 0x61, 0x72, 0x74, 0x68, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x69, 0x72, 0x67, 0x69, 0x6e, 0x74, 0xc3, 0xad, 0x6e, 0x65}, "AEDT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x4f, 0x69, 0x72, 0x74, 0x68, 0x65, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x73, 0x74, 0x72, 0xc3, 0xa1, 0x69, 0x6c, 0x65}, "LHST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x4c, 0x6f, 0x72, 0x64, 0x20, 0x48, 0x6f, 0x77, 0x65}, "LHDT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x4c, 0x6f, 0x72, 0x64, 0x20, 0x48, 0x6f, 0x77, 0x65}, "∅∅∅": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x6e, 0x41, 0x73, 0xc3, 0xb3, 0x72}, "HAT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x54, 0x68, 0x61, 0x6c, 0x61, 0x6d, 0x68, 0x20, 0x61, 0x6e, 0x20, 0xc3, 0x89, 0x69, 0x73, 0x63}, "CLT": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x53, 0x69, 0x6c, 0x65}, "VET": {0x41, 0x6d, 0x20, 0x56, 0x65, 0x69, 0x6e, 0x69, 0x73, 0xc3, 0xa9, 0x61, 0x6c, 0x61}, "ACST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x4c, 0xc3, 0xa1, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x73, 0x74, 0x72, 0xc3, 0xa1, 0x69, 0x6c, 0x65}, "AKDT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x41, 0x6c, 0x61, 0x73, 0x63, 0x61}, "GFT": {0x41, 0x6d, 0x20, 0x47, 0x68, 0x75, 0xc3, 0xa1, 0x69, 0x6e, 0x20, 0x6e, 0x61, 0x20, 0x46, 0x72, 0x61, 0x69, 0x6e, 0x63, 0x65}, "WAT": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x49, 0x61, 0x72, 0x74, 0x68, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x66, 0x72, 0x61, 0x69, 0x63, 0x65}, "ADT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x61, 0x6e, 0x20, 0x41, 0x74, 0x6c, 0x61, 0x6e, 0x74, 0x61, 0x69, 0x67, 0x68}, "EST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x61, 0x6e, 0x20, 0x4f, 0x69, 0x72, 0x74, 0x68, 0x69, 0x72}, "BOT": {0x41, 0x6d, 0x20, 0x6e, 0x61, 0x20, 0x42, 0x6f, 0x6c, 0x61, 0x69, 0x76, 0x65}, "BT": {0x41, 0x6d, 0x20, 0x6e, 0x61, 0x20, 0x42, 0xc3, 0xba, 0x74, 0xc3, 0xa1, 0x69, 0x6e, 0x65}, "ACWST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x4d, 0x68, 0x65, 0xc3, 0xa1, 0x6e, 0x69, 0x61, 0x72, 0x74, 0x68, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x73, 0x74, 0x72, 0xc3, 0xa1, 0x69, 0x6c, 0x65}, "HKST": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x48, 0x6f, 0x6e, 0x67, 0x20, 0x43, 0x6f, 0x6e, 0x67}, "IST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x49, 0x6e, 0x64, 0x69, 0x61}, "AWST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x49, 0x61, 0x72, 0x74, 0x68, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x73, 0x74, 0x72, 0xc3, 0xa1, 0x69, 0x6c, 0x65}, "MDT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x53, 0x6c, 0xc3, 0xa9, 0x69, 0x62, 0x68, 0x74, 0x65}, "GMT": {0x4d, 0x65, 0xc3, 0xa1, 0x6e, 0x2d, 0x41, 0x6d, 0x20, 0x47, 0x72, 0x65, 0x65, 0x6e, 0x77, 0x69, 0x63, 0x68}, "CST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x4c, 0xc3, 0xa1, 0x72, 0x6e, 0x61, 0x63, 0x68}, "SGT": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x53, 0x68, 0x69, 0x6e, 0x67, 0x65, 0x61, 0x70, 0xc3, 0xb3, 0x72}, "WAST": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x49, 0x61, 0x72, 0x74, 0x68, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x66, 0x72, 0x61, 0x69, 0x63, 0x65}, "AST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x61, 0x6e, 0x20, 0x41, 0x74, 0x6c, 0x61, 0x6e, 0x74, 0x61, 0x69, 0x67, 0x68}, "MST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x53, 0x6c, 0xc3, 0xa9, 0x69, 0x62, 0x68, 0x74, 0x65}, "TMT": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x54, 0x75, 0x69, 0x72, 0x63, 0x6d, 0xc3, 0xa9, 0x61, 0x6e, 0x61, 0x73, 0x74, 0xc3, 0xa1, 0x69, 0x6e, 0x65}, "ACDT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x4c, 0xc3, 0xa1, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x73, 0x74, 0x72, 0xc3, 0xa1, 0x69, 0x6c, 0x65}, "WITA": {0x41, 0x6d, 0x20, 0x4c, 0xc3, 0xa1, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x49, 0x6e, 0x64, 0x69, 0x6e, 0xc3, 0xa9, 0x69, 0x73, 0x65}, "CHADT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x43, 0x68, 0x61, 0x74, 0x68, 0x61, 0x6d}, "MYT": {0x41, 0x6d, 0x20, 0x6e, 0x61, 0x20, 0x4d, 0x61, 0x6c, 0x61, 0x65, 0x69, 0x73, 0x69, 0x61}, "WESZ": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x49, 0x61, 0x72, 0x74, 0x68, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x45, 0x6f, 0x72, 0x70, 0x61}, "ECT": {0x41, 0x6d, 0x20, 0x45, 0x61, 0x63, 0x75, 0x61, 0x64, 0xc3, 0xb3, 0x72}, "ChST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x53, 0x65, 0x61, 0x6d, 0xc3, 0xb3, 0x72, 0x61, 0x63, 0x68}, "ARST": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x69, 0x72, 0x67, 0x69, 0x6e, 0x74, 0xc3, 0xad, 0x6e, 0x65}, "EDT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x61, 0x6e, 0x20, 0x4f, 0x69, 0x72, 0x74, 0x68, 0x69, 0x72}, "WIT": {0x41, 0x6d, 0x20, 0x4f, 0x69, 0x72, 0x74, 0x68, 0x65, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x49, 0x6e, 0x64, 0x69, 0x6e, 0xc3, 0xa9, 0x69, 0x73, 0x65}, "SRT": {0x41, 0x6d, 0x20, 0x53, 0x68, 0x75, 0x72, 0x61, 0x6e, 0x61, 0x6d}, "HADT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x48, 0x61, 0x76, 0xc3, 0xa1, 0xc3, 0xad, 0x2d, 0x41, 0x69, 0x6c, 0x69, 0xc3, 0xba, 0x69, 0x74}, "CHAST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x43, 0x68, 0x61, 0x74, 0x68, 0x61, 0x6d}, "NZST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x4e, 0x75, 0x61, 0x2d, 0x53, 0x68, 0xc3, 0xa9, 0x61, 0x6c, 0x61, 0x69, 0x6e, 0x6e, 0x65}, "PDT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x61, 0x6e, 0x20, 0x41, 0x69, 0x67, 0xc3, 0xa9, 0x69, 0x6e, 0x20, 0x43, 0x68, 0x69, 0xc3, 0xba, 0x69, 0x6e}, "UYST": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x55, 0x72, 0x61, 0x67, 0x75, 0x61}, "ART": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x69, 0x72, 0x67, 0x69, 0x6e, 0x74, 0xc3, 0xad, 0x6e, 0x65}, "OEZ": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x4f, 0x69, 0x72, 0x74, 0x68, 0x65, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x45, 0x6f, 0x72, 0x70, 0x61}, "HKT": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x48, 0x6f, 0x6e, 0x67, 0x20, 0x43, 0x6f, 0x6e, 0x67}, "WART": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x49, 0x61, 0x72, 0x74, 0x68, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x69, 0x72, 0x67, 0x69, 0x6e, 0x74, 0xc3, 0xad, 0x6e, 0x65}, "COST": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x43, 0x6f, 0x6c, 0xc3, 0xb3, 0x69, 0x6d, 0x65}, "WIB": {0x41, 0x6d, 0x20, 0x49, 0x61, 0x72, 0x74, 0x68, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x49, 0x6e, 0x64, 0x69, 0x6e, 0xc3, 0xa9, 0x69, 0x73, 0x65}, "CLST": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x53, 0x69, 0x6c, 0x65}, "GYT": {0x41, 0x6d, 0x20, 0x6e, 0x61, 0x20, 0x47, 0x75, 0xc3, 0xa1, 0x69, 0x6e, 0x65}, "AKST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x41, 0x6c, 0x61, 0x73, 0x63, 0x61}, "CDT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x4c, 0xc3, 0xa1, 0x72, 0x6e, 0x61, 0x63, 0x68}, "HAST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x48, 0x61, 0x76, 0xc3, 0xa1, 0xc3, 0xad, 0x2d, 0x41, 0x69, 0x6c, 0x69, 0xc3, 0xba, 0x69, 0x74}, "PST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x61, 0x6e, 0x20, 0x41, 0x69, 0x67, 0xc3, 0xa9, 0x69, 0x6e, 0x20, 0x43, 0x68, 0x69, 0xc3, 0xba, 0x69, 0x6e}, "WEZ": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x49, 0x61, 0x72, 0x74, 0x68, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x45, 0x6f, 0x72, 0x70, 0x61}, "AWDT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x49, 0x61, 0x72, 0x74, 0x68, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x73, 0x74, 0x72, 0xc3, 0xa1, 0x69, 0x6c, 0x65}, "JST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x53, 0x65, 0x61, 0x70, 0xc3, 0xa1, 0x69, 0x6e, 0x65}, "AEST": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x4f, 0x69, 0x72, 0x74, 0x68, 0x65, 0x61, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x73, 0x74, 0x72, 0xc3, 0xa1, 0x69, 0x6c, 0x65}, "UYT": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x55, 0x72, 0x61, 0x67, 0x75, 0x61}, "HNT": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x54, 0x68, 0x61, 0x6c, 0x61, 0x6d, 0x68, 0x20, 0x61, 0x6e, 0x20, 0xc3, 0x89, 0x69, 0x73, 0x63}, "COT": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x43, 0x6f, 0x6c, 0xc3, 0xb3, 0x69, 0x6d, 0x65}, "NZDT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x4e, 0x75, 0x61, 0x2d, 0x53, 0x68, 0xc3, 0xa9, 0x61, 0x6c, 0x61, 0x69, 0x6e, 0x6e, 0x65}, "JDT": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x6e, 0x61, 0x20, 0x53, 0x65, 0x61, 0x70, 0xc3, 0xa1, 0x69, 0x6e, 0x65}, "MEZ": {0x41, 0x6d, 0x20, 0x43, 0x61, 0x69, 0x67, 0x68, 0x64, 0x65, 0xc3, 0xa1, 0x6e, 0x61, 0x63, 0x68, 0x20, 0x4c, 0xc3, 0xa1, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x45, 0x6f, 0x72, 0x70, 0x61}, "MESZ": {0x41, 0x6d, 0x20, 0x53, 0x61, 0x6d, 0x68, 0x72, 0x61, 0x69, 0x64, 0x68, 0x20, 0x4c, 0xc3, 0xa1, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x45, 0x6f, 0x72, 0x70, 0x61}, "CAT": {0x41, 0x6d, 0x20, 0x4c, 0xc3, 0xa1, 0x72, 0x20, 0x6e, 0x61, 0x20, 0x68, 0x41, 0x66, 0x72, 0x61, 0x69, 0x63, 0x65}}, } } @@ -426,6 +426,7 @@ func (ga *ga) FmtTimeShort(t time.Time) []byte { b = strconv.AppendInt(b, int64(t.Hour()), 10) b = append(b, ga.timeSeparator...) + if t.Minute() < 10 { b = append(b, '0') } @@ -448,12 +449,14 @@ func (ga *ga) FmtTimeMedium(t time.Time) []byte { b = strconv.AppendInt(b, int64(t.Hour()), 10) b = append(b, ga.timeSeparator...) + if t.Minute() < 10 { b = append(b, '0') } b = strconv.AppendInt(b, int64(t.Minute()), 10) b = append(b, ga.timeSeparator...) + if t.Second() < 10 { b = append(b, '0') } @@ -476,12 +479,14 @@ func (ga *ga) FmtTimeLong(t time.Time) []byte { b = strconv.AppendInt(b, int64(t.Hour()), 10) b = append(b, ga.timeSeparator...) + if t.Minute() < 10 { b = append(b, '0') } b = strconv.AppendInt(b, int64(t.Minute()), 10) b = append(b, ga.timeSeparator...) + if t.Second() < 10 { b = append(b, '0') } @@ -508,12 +513,14 @@ func (ga *ga) FmtTimeFull(t time.Time) []byte { b = strconv.AppendInt(b, int64(t.Hour()), 10) b = append(b, ga.timeSeparator...) + if t.Minute() < 10 { b = append(b, '0') } b = strconv.AppendInt(b, int64(t.Minute()), 10) b = append(b, ga.timeSeparator...) + if t.Second() < 10 { b = append(b, '0') } @@ -522,6 +529,7 @@ func (ga *ga) FmtTimeFull(t time.Time) []byte { b = append(b, []byte{0x20}...) tz, _ := t.Zone() + if btz, ok := ga.timezones[tz]; ok { b = append(b, btz...) } else { @@ -530,3 +538,51 @@ func (ga *ga) FmtTimeFull(t time.Time) []byte { return b } + +// FmtDateTimeShort returns the short date & time representation of 't' for 'ga' +// returned as a []byte just in case the caller wishes to add more and can help +// avoid allocations; otherwise just cast as string. +func (ga *ga) FmtDateTimeShort(t time.Time) []byte { + + b := ga.FmtDateShort(t) + b = append(b, ' ') + b = append(b, ga.FmtTimeShort(t)...) + + return b +} + +// FmtDateTimeMedium returns the medium date & time representation of 't' for 'ga' +// returned as a []byte just in case the caller wishes to add more and can help +// avoid allocations; otherwise just cast as string. +func (ga *ga) FmtDateTimeMedium(t time.Time) []byte { + + b := ga.FmtDateMedium(t) + b = append(b, ' ') + b = append(b, ga.FmtTimeMedium(t)...) + + return b +} + +// FmtDateTimeLong returns the long date & time representation of 't' for 'ga' +// returned as a []byte just in case the caller wishes to add more and can help +// avoid allocations; otherwise just cast as string. +func (ga *ga) FmtDateTimeLong(t time.Time) []byte { + + b := ga.FmtDateLong(t) + b = append(b, ' ') + b = append(b, ga.FmtTimeLong(t)...) + + return b +} + +// FmtDateTimeFull returns the full date & time representation of 't' for 'ga' +// returned as a []byte just in case the caller wishes to add more and can help +// avoid allocations; otherwise just cast as string. +func (ga *ga) FmtDateTimeFull(t time.Time) []byte { + + b := ga.FmtDateFull(t) + b = append(b, ' ') + b = append(b, ga.FmtTimeFull(t)...) + + return b +} |