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 /he/he.go | |
parent | 936167fec07f617d1236bcc41e24702a75a3be92 (diff) |
Add timezone logic + locale specific info
Diffstat (limited to 'he/he.go')
-rw-r--r-- | he/he.go | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -42,6 +42,7 @@ type he struct { erasAbbreviated [][]byte erasNarrow [][]byte erasWide [][]byte + timezones map[string][]byte } // New returns a new instance of translator for the 'he' locale @@ -72,6 +73,7 @@ func New() locales.Translator { erasAbbreviated: [][]uint8{{0xd7, 0x9c, 0xd7, 0xa4, 0xd7, 0xa0, 0xd7, 0x94, 0xd7, 0xb4, 0xd7, 0xa1}, {0xd7, 0x9c, 0xd7, 0xa1, 0xd7, 0xa4, 0xd7, 0x99, 0xd7, 0xa8, 0xd7, 0x94}}, erasNarrow: [][]uint8{[]uint8(nil), []uint8(nil)}, erasWide: [][]uint8{[]uint8(nil), []uint8(nil)}, + timezones: map[string][]uint8{"ACWST": {0xd7, 0xa9, 0xd7, 0xa2, 0xd7, 0x95, 0xd7, 0x9f, 0x20, 0xd7, 0x9e, 0xd7, 0xa8, 0xd7, 0x9b, 0xd7, 0x96, 0x2d, 0xd7, 0x9e, 0xd7, 0xa2, 0xd7, 0xa8, 0xd7, 0x91, 0x20, 0xd7, 0x90, 0xd7, 0x95, 0xd7, 0xa1, 0xd7, 0x98, 0xd7, 0xa8, 0xd7, 0x9c, 0xd7, 0x99, 0xd7, 0x94, 0x20, 0x28, 0xd7, 0x97, 0xd7, 0x95, 0xd7, 0xa8, 0xd7, 0xa3, 0x29}, "CLT": {0xd7, 0xa9, 0xd7, 0xa2, 0xd7, 0x95, 0xd7, 0x9f, 0x20, 0xd7, 0xa6, 0xd7, 0x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[]byte { b = append(b, []byte{0x20}...) tz, _ := t.Zone() - b = append(b, tz...) + if btz, ok := he.timezones[tz]; ok { + b = append(b, btz...) + } else { + b = append(b, tz...) + } return b } |