8 "github.com/go-playground/locales"
9 "github.com/go-playground/locales/currency"
14 pluralsCardinal []locales.PluralRule
15 pluralsOrdinal []locales.PluralRule
16 pluralsRange []locales.PluralRule
24 currencies []string // idx = enum of currency code
25 currencyNegativePrefix string
26 currencyNegativeSuffix string
27 monthsAbbreviated []string
30 daysAbbreviated []string
34 periodsAbbreviated []string
35 periodsNarrow []string
38 erasAbbreviated []string
41 timezones map[string]string
44 // New returns a new instance of translator for the 'uk' locale
45 func New() locales.Translator {
48 pluralsCardinal: []locales.PluralRule{2, 4, 5, 6},
49 pluralsOrdinal: []locales.PluralRule{4, 6},
50 pluralsRange: []locales.PluralRule{2, 4, 5, 6},
58 currencies: []string{"ADP", "AED", "AFA", "AFN", "ALK", "ALL", "AMD", "ANG", "AOA", "AOK", "AON", "AOR", "ARA", "ARL", "ARM", "ARP", "ARS", "ATS", "AUD", "AWG", "AZM", "AZN", "BAD", "BAM", "BAN", "BBD", "BDT", "BEC", "BEF", "BEL", "BGL", "BGM", "BGN", "BGO", "BHD", "BIF", "BMD", "BND", "BOB", "BOL", "BOP", "BOV", "BRB", "BRC", "BRE", "BRL", "BRN", "BRR", "BRZ", "BSD", "BTN", "BUK", "BWP", "BYB", "BYN", "BYR", "BZD", "CAD", "CDF", "CHE", "CHF", "CHW", "CLE", "CLF", "CLP", "CNX", "CNY", "COP", "COU", "CRC", "CSD", "CSK", "CUC", "CUP", "CVE", "CYP", "CZK", "DDM", "DEM", "DJF", "DKK", "DOP", "DZD", "ECS", "ECV", "EEK", "EGP", "ERN", "ESA", "ESB", "ESP", "ETB", "EUR", "FIM", "FJD", "FKP", "FRF", "GBP", "GEK", "GEL", "GHC", "GHS", "GIP", "GMD", "GNF", "GNS", "GQE", "GRD", "GTQ", "GWE", "GWP", "GYD", "HKD", "HNL", "HRD", "HRK", "HTG", "HUF", "IDR", "IEP", "ILP", "ILR", "ILS", "INR", "IQD", "IRR", "ISJ", "ISK", "ITL", "JMD", "JOD", "¥", "KES", "KGS", "KHR", "KMF", "KPW", "KRH", "KRO", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LTL", "LTT", "LUC", "LUF", "LUL", "LVL", "LVR", "LYD", "MAD", "MAF", "MCF", "MDC", "MDL", "MGA", "MGF", "MKD", "MKN", "MLF", "MMK", "MNT", "MOP", "MRO", "MTL", "MTP", "MUR", "MVP", "MVR", "MWK", "MXN", "MXP", "MXV", "MYR", "MZE", "MZM", "MZN", "NAD", "NGN", "NIC", "NIO", "NLG", "NOK", "NPR", "NZD", "OMR", "PAB", "PEI", "PEN", "PES", "PGK", "PHP", "PKR", "PLN", "PLZ", "PTE", "PYG", "QAR", "RHD", "ROL", "RON", "RSD", "RUB", "RUR", "RWF", "SAR", "SBD", "SCR", "SDD", "SDG", "SDP", "SEK", "SGD", "SHP", "SIT", "SKK", "SLL", "SOS", "SRD", "SRG", "SSP", "STD", "SUR", "SVC", "SYP", "SZL", "THB", "TJR", "TJS", "TMM", "TMT", "TND", "TOP", "TPE", "TRL", "TRY", "TTD", "TWD", "TZS", "₴", "крб.", "UGS", "UGX", "USD", "USN", "USS", "UYI", "UYP", "UYU", "UZS", "VEB", "VEF", "VND", "VNN", "VUV", "WST", "FCFA", "XAG", "XAU", "XBA", "XBB", "XBC", "XBD", "XCD", "XDR", "XEU", "XFO", "XFU", "CFA", "XPD", "CFPF", "XPT", "XRE", "XSU", "XTS", "XUA", "XXX", "YDD", "YER", "YUD", "YUM", "YUN", "YUR", "ZAL", "ZAR", "ZMK", "ZMW", "ZRN", "ZRZ", "ZWD", "ZWL", "ZWR"},
59 currencyNegativePrefix: "(",
60 currencyNegativeSuffix: ")",
61 monthsAbbreviated: []string{"", "січ.", "лют.", "бер.", "квіт.", "трав.", "черв.", "лип.", "серп.", "вер.", "жовт.", "лист.", "груд."},
62 monthsNarrow: []string{"", "с", "л", "б", "к", "т", "ч", "л", "с", "в", "ж", "л", "г"},
63 monthsWide: []string{"", "січня", "лютого", "березня", "квітня", "травня", "червня", "липня", "серпня", "вересня", "жовтня", "листопада", "грудня"},
64 daysAbbreviated: []string{"нд", "пн", "вт", "ср", "чт", "пт", "сб"},
65 daysNarrow: []string{"Н", "П", "В", "С", "Ч", "П", "С"},
66 daysShort: []string{"нд", "пн", "вт", "ср", "чт", "пт", "сб"},
67 daysWide: []string{"неділя", "понеділок", "вівторок", "середа", "четвер", "пʼятниця", "субота"},
68 periodsAbbreviated: []string{"дп", "пп"},
69 periodsNarrow: []string{"дп", "пп"},
70 periodsWide: []string{"дп", "пп"},
71 erasAbbreviated: []string{"до н. е.", "н. е."},
72 erasNarrow: []string{"до н.е.", "н.е."},
73 erasWide: []string{"до нашої ери", "нашої ери"},
74 timezones: map[string]string{"WESZ": "за західноєвропейським літнім часом", "HECU": "за літнім часом на Кубі", "MEZ": "за центральноєвропейським стандартним часом", "AST": "за атлантичним стандартним часом", "HNT": "за стандартним часом на острові Ньюфаундленд", "HAT": "за літнім часом у Ньюфаундленд", "WEZ": "за західноєвропейським стандартним часом", "AWDT": "за літнім західноавстралійським часом", "TMT": "за стандартним часом у Туркменістані", "∅∅∅": "за літнім часом на Азорських Островах", "HNEG": "за стандартним східним часом у Гренландії", "AKST": "за стандартним часом на Алясці", "CST": "за північноамериканським центральним стандартним часом", "TMST": "за літнім часом у Туркменістані", "CHAST": "за стандартним часом на архіпелазі Чатем", "HAST": "за стандартним гавайсько-алеутським часом", "LHST": "за стандартним часом на острові Лорд-Хау", "MST": "за північноамериканським гірським стандартним часом", "ECT": "за часом в Еквадорі", "HNPMX": "за стандартним тихоокеанським часом у Мексиці", "ADT": "за атлантичним літнім часом", "ACWDT": "за літнім центральнозахідним австралійським часом", "UYST": "за літнім часом в Уругваї", "MESZ": "за центральноєвропейським літнім часом", "JST": "за японським стандартним часом", "OEZ": "за східноєвропейським стандартним часом", "CLST": "за літнім чилійським часом", "GYT": "за часом у Гаяні", "GMT": "за Гринвічем", "NZST": "за стандартним часом у Новій Зеландії", "JDT": "за японським літнім часом", "LHDT": "за літнім часом на острові Лорд-Хау", "MDT": "за північноамериканським гірським літнім часом", "IST": "за індійським стандартним часом", "SRT": "за часом у Суринамі", "HADT": "за літнім гавайсько-алеутським часом", "ART": "за стандартним аргентинським часом", "WAT": "за західноафриканським стандартним часом", "BT": "за часом у Бутані", "BOT": "за болівійським часом", "VET": "за часом у Венесуелі", "GFT": "за часом Французької Гвіани", "AKDT": "за літнім часом на Алясці", "HNPM": "за стандартним часом на островах Сен-П’єр і Мікелон", "ACWST": "за стандартним центральнозахідним австралійським часом", "WIT": "за східноіндонезійським часом", "COST": "за літнім колумбійським часом", "ACDT": "за літнім центральноавстралійським часом", "SGT": "за часом у Сінгапурі", "MYT": "за часом у Малайзії", "AEST": "за стандартним східноавстралійським часом", "HNOG": "за стандартним західним часом у Гренландії", "ACST": "за стандартним центральноавстралійським часом", "CAT": "за центральноафриканським часом", "NZDT": "за літнім часом у Новій Зеландії", "WITA": "за центральноіндонезійським часом", "EST": "за північноамериканським східним стандартним часом", "ChST": "за часом на Північних Маріанських островах", "PST": "за північноамериканським тихоокеанським стандартним часом", "HEPM": "за літнім часом на островах Сен-П’єр і Мікелон", "UYT": "за стандартним часом в Уругваї", "HENOMX": "за літнім північнозахідним часом у Мексиці", "AEDT": "за літнім східноавстралійським часом", "ARST": "за літнім аргентинським часом", "EAT": "за східноафриканським часом", "AWST": "за стандартним західноавстралійським часом", "WART": "за стандартним західноаргентинським часом", "EDT": "за північноамериканським східним літнім часом", "WIB": "за західноіндонезійським часом", "PDT": "за північноамериканським тихоокеанським літнім часом", "CHADT": "за літнім часом на архіпелазі Чатем", "HEPMX": "за літнім тихоокеанським часом у Мексиці", "WARST": "за літнім за західноаргентинським часом", "SAST": "за південноафриканським часом", "HEEG": "за літнім східним часом у Гренландії", "HKT": "за стандартним часом у Гонконзі", "HKST": "за літнім часом у Гонконзі", "HNNOMX": "за стандартним північнозахідним часом у Мексиці", "CLT": "за стандартним чилійським часом", "CDT": "за північноамериканським центральним літнім часом", "OESZ": "за східноєвропейським літнім часом", "HEOG": "за літнім західним часом у Гренландії", "WAST": "за західноафриканським літнім часом", "COT": "за стандартним колумбійським часом", "HNCU": "за стандартним часом на Кубі"},
78 // Locale returns the current translators string locale
79 func (uk *uk) Locale() string {
83 // PluralsCardinal returns the list of cardinal plural rules associated with 'uk'
84 func (uk *uk) PluralsCardinal() []locales.PluralRule {
85 return uk.pluralsCardinal
88 // PluralsOrdinal returns the list of ordinal plural rules associated with 'uk'
89 func (uk *uk) PluralsOrdinal() []locales.PluralRule {
90 return uk.pluralsOrdinal
93 // PluralsRange returns the list of range plural rules associated with 'uk'
94 func (uk *uk) PluralsRange() []locales.PluralRule {
95 return uk.pluralsRange
98 // CardinalPluralRule returns the cardinal PluralRule given 'num' and digits/precision of 'v' for 'uk'
99 func (uk *uk) CardinalPluralRule(num float64, v uint64) locales.PluralRule {
106 if v == 0 && iMod10 == 1 && iMod100 != 11 {
107 return locales.PluralRuleOne
108 } else if v == 0 && iMod10 >= 2 && iMod10 <= 4 && (iMod100 < 12 || iMod100 > 14) {
109 return locales.PluralRuleFew
110 } else if (v == 0 && iMod10 == 0) || (v == 0 && iMod10 >= 5 && iMod10 <= 9) || (v == 0 && iMod100 >= 11 && iMod100 <= 14) {
111 return locales.PluralRuleMany
114 return locales.PluralRuleOther
117 // OrdinalPluralRule returns the ordinal PluralRule given 'num' and digits/precision of 'v' for 'uk'
118 func (uk *uk) OrdinalPluralRule(num float64, v uint64) locales.PluralRule {
121 nMod100 := math.Mod(n, 100)
122 nMod10 := math.Mod(n, 10)
124 if nMod10 == 3 && nMod100 != 13 {
125 return locales.PluralRuleFew
128 return locales.PluralRuleOther
131 // RangePluralRule returns the ordinal PluralRule given 'num1', 'num2' and digits/precision of 'v1' and 'v2' for 'uk'
132 func (uk *uk) RangePluralRule(num1 float64, v1 uint64, num2 float64, v2 uint64) locales.PluralRule {
134 start := uk.CardinalPluralRule(num1, v1)
135 end := uk.CardinalPluralRule(num2, v2)
137 if start == locales.PluralRuleOne && end == locales.PluralRuleOne {
138 return locales.PluralRuleOne
139 } else if start == locales.PluralRuleOne && end == locales.PluralRuleFew {
140 return locales.PluralRuleFew
141 } else if start == locales.PluralRuleOne && end == locales.PluralRuleMany {
142 return locales.PluralRuleMany
143 } else if start == locales.PluralRuleOne && end == locales.PluralRuleOther {
144 return locales.PluralRuleOther
145 } else if start == locales.PluralRuleFew && end == locales.PluralRuleOne {
146 return locales.PluralRuleOne
147 } else if start == locales.PluralRuleFew && end == locales.PluralRuleFew {
148 return locales.PluralRuleFew
149 } else if start == locales.PluralRuleFew && end == locales.PluralRuleMany {
150 return locales.PluralRuleMany
151 } else if start == locales.PluralRuleFew && end == locales.PluralRuleOther {
152 return locales.PluralRuleOther
153 } else if start == locales.PluralRuleMany && end == locales.PluralRuleOne {
154 return locales.PluralRuleOne
155 } else if start == locales.PluralRuleMany && end == locales.PluralRuleFew {
156 return locales.PluralRuleFew
157 } else if start == locales.PluralRuleMany && end == locales.PluralRuleMany {
158 return locales.PluralRuleMany
159 } else if start == locales.PluralRuleMany && end == locales.PluralRuleOther {
160 return locales.PluralRuleOther
161 } else if start == locales.PluralRuleOther && end == locales.PluralRuleOne {
162 return locales.PluralRuleOne
163 } else if start == locales.PluralRuleOther && end == locales.PluralRuleFew {
164 return locales.PluralRuleFew
165 } else if start == locales.PluralRuleOther && end == locales.PluralRuleMany {
166 return locales.PluralRuleMany
169 return locales.PluralRuleOther
173 // MonthAbbreviated returns the locales abbreviated month given the 'month' provided
174 func (uk *uk) MonthAbbreviated(month time.Month) string {
175 return uk.monthsAbbreviated[month]
178 // MonthsAbbreviated returns the locales abbreviated months
179 func (uk *uk) MonthsAbbreviated() []string {
180 return uk.monthsAbbreviated[1:]
183 // MonthNarrow returns the locales narrow month given the 'month' provided
184 func (uk *uk) MonthNarrow(month time.Month) string {
185 return uk.monthsNarrow[month]
188 // MonthsNarrow returns the locales narrow months
189 func (uk *uk) MonthsNarrow() []string {
190 return uk.monthsNarrow[1:]
193 // MonthWide returns the locales wide month given the 'month' provided
194 func (uk *uk) MonthWide(month time.Month) string {
195 return uk.monthsWide[month]
198 // MonthsWide returns the locales wide months
199 func (uk *uk) MonthsWide() []string {
200 return uk.monthsWide[1:]
203 // WeekdayAbbreviated returns the locales abbreviated weekday given the 'weekday' provided
204 func (uk *uk) WeekdayAbbreviated(weekday time.Weekday) string {
205 return uk.daysAbbreviated[weekday]
208 // WeekdaysAbbreviated returns the locales abbreviated weekdays
209 func (uk *uk) WeekdaysAbbreviated() []string {
210 return uk.daysAbbreviated
213 // WeekdayNarrow returns the locales narrow weekday given the 'weekday' provided
214 func (uk *uk) WeekdayNarrow(weekday time.Weekday) string {
215 return uk.daysNarrow[weekday]
218 // WeekdaysNarrow returns the locales narrow weekdays
219 func (uk *uk) WeekdaysNarrow() []string {
223 // WeekdayShort returns the locales short weekday given the 'weekday' provided
224 func (uk *uk) WeekdayShort(weekday time.Weekday) string {
225 return uk.daysShort[weekday]
228 // WeekdaysShort returns the locales short weekdays
229 func (uk *uk) WeekdaysShort() []string {
233 // WeekdayWide returns the locales wide weekday given the 'weekday' provided
234 func (uk *uk) WeekdayWide(weekday time.Weekday) string {
235 return uk.daysWide[weekday]
238 // WeekdaysWide returns the locales wide weekdays
239 func (uk *uk) WeekdaysWide() []string {
243 // Decimal returns the decimal point of number
244 func (uk *uk) Decimal() string {
248 // Group returns the group of number
249 func (uk *uk) Group() string {
253 // Group returns the minus sign of number
254 func (uk *uk) Minus() string {
258 // FmtNumber returns 'num' with digits/precision of 'v' for 'uk' and handles both Whole and Real numbers based on 'v'
259 func (uk *uk) FmtNumber(num float64, v uint64) string {
261 s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
262 l := len(s) + 2 + 2*len(s[:len(s)-int(v)-1])/3
265 b := make([]byte, 0, l)
267 for i := len(s) - 1; i >= 0; i-- {
270 b = append(b, uk.decimal[0])
277 for j := len(uk.group) - 1; j >= 0; j-- {
278 b = append(b, uk.group[j])
290 b = append(b, uk.minus[0])
294 for i, j := 0, len(b)-1; i < j; i, j = i+1, j-1 {
295 b[i], b[j] = b[j], b[i]
301 // FmtPercent returns 'num' with digits/precision of 'v' for 'uk' and handles both Whole and Real numbers based on 'v'
302 // NOTE: 'num' passed into FmtPercent is assumed to be in percent already
303 func (uk *uk) FmtPercent(num float64, v uint64) string {
304 s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
306 b := make([]byte, 0, l)
308 for i := len(s) - 1; i >= 0; i-- {
311 b = append(b, uk.decimal[0])
319 b = append(b, uk.minus[0])
323 for i, j := 0, len(b)-1; i < j; i, j = i+1, j-1 {
324 b[i], b[j] = b[j], b[i]
327 b = append(b, uk.percent...)
332 // FmtCurrency returns the currency representation of 'num' with digits/precision of 'v' for 'uk'
333 func (uk *uk) FmtCurrency(num float64, v uint64, currency currency.Type) string {
335 s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
336 symbol := uk.currencies[currency]
337 l := len(s) + len(symbol) + 2 + 2*len(s[:len(s)-int(v)-1])/3
340 b := make([]byte, 0, l)
342 for i := len(s) - 1; i >= 0; i-- {
345 b = append(b, uk.decimal[0])
352 for j := len(uk.group) - 1; j >= 0; j-- {
353 b = append(b, uk.group[j])
365 b = append(b, uk.minus[0])
369 for i, j := 0, len(b)-1; i < j; i, j = i+1, j-1 {
370 b[i], b[j] = b[j], b[i]
376 b = append(b, uk.decimal...)
379 for i := 0; i < 2-int(v); i++ {
384 b = append(b, symbol...)
389 // FmtAccounting returns the currency representation of 'num' with digits/precision of 'v' for 'uk'
390 // in accounting notation.
391 func (uk *uk) FmtAccounting(num float64, v uint64, currency currency.Type) string {
393 s := strconv.FormatFloat(math.Abs(num), 'f', int(v), 64)
394 symbol := uk.currencies[currency]
395 l := len(s) + len(symbol) + 4 + 2*len(s[:len(s)-int(v)-1])/3
398 b := make([]byte, 0, l)
400 for i := len(s) - 1; i >= 0; i-- {
403 b = append(b, uk.decimal[0])
410 for j := len(uk.group) - 1; j >= 0; j-- {
411 b = append(b, uk.group[j])
424 b = append(b, uk.currencyNegativePrefix[0])
429 for i, j := 0, len(b)-1; i < j; i, j = i+1, j-1 {
430 b[i], b[j] = b[j], b[i]
436 b = append(b, uk.decimal...)
439 for i := 0; i < 2-int(v); i++ {
445 b = append(b, uk.currencyNegativeSuffix...)
446 b = append(b, symbol...)
449 b = append(b, symbol...)
455 // FmtDateShort returns the short date representation of 't' for 'uk'
456 func (uk *uk) FmtDateShort(t time.Time) string {
458 b := make([]byte, 0, 32)
464 b = strconv.AppendInt(b, int64(t.Day()), 10)
465 b = append(b, []byte{0x2e}...)
471 b = strconv.AppendInt(b, int64(t.Month()), 10)
473 b = append(b, []byte{0x2e}...)
476 b = append(b, strconv.Itoa(t.Year())[2:]...)
478 b = append(b, strconv.Itoa(t.Year())[1:]...)
484 // FmtDateMedium returns the medium date representation of 't' for 'uk'
485 func (uk *uk) FmtDateMedium(t time.Time) string {
487 b := make([]byte, 0, 32)
489 b = strconv.AppendInt(b, int64(t.Day()), 10)
490 b = append(b, []byte{0x20}...)
491 b = append(b, uk.monthsAbbreviated[t.Month()]...)
492 b = append(b, []byte{0x20}...)
495 b = strconv.AppendInt(b, int64(t.Year()), 10)
497 b = strconv.AppendInt(b, int64(-t.Year()), 10)
500 b = append(b, []byte{0x20, 0xd1, 0x80}...)
501 b = append(b, []byte{0x2e}...)
506 // FmtDateLong returns the long date representation of 't' for 'uk'
507 func (uk *uk) FmtDateLong(t time.Time) string {
509 b := make([]byte, 0, 32)
511 b = strconv.AppendInt(b, int64(t.Day()), 10)
512 b = append(b, []byte{0x20}...)
513 b = append(b, uk.monthsWide[t.Month()]...)
514 b = append(b, []byte{0x20}...)
517 b = strconv.AppendInt(b, int64(t.Year()), 10)
519 b = strconv.AppendInt(b, int64(-t.Year()), 10)
522 b = append(b, []byte{0x20, 0xd1, 0x80}...)
523 b = append(b, []byte{0x2e}...)
528 // FmtDateFull returns the full date representation of 't' for 'uk'
529 func (uk *uk) FmtDateFull(t time.Time) string {
531 b := make([]byte, 0, 32)
533 b = append(b, uk.daysWide[t.Weekday()]...)
534 b = append(b, []byte{0x2c, 0x20}...)
535 b = strconv.AppendInt(b, int64(t.Day()), 10)
536 b = append(b, []byte{0x20}...)
537 b = append(b, uk.monthsWide[t.Month()]...)
538 b = append(b, []byte{0x20}...)
541 b = strconv.AppendInt(b, int64(t.Year()), 10)
543 b = strconv.AppendInt(b, int64(-t.Year()), 10)
546 b = append(b, []byte{0x20, 0xd1, 0x80}...)
547 b = append(b, []byte{0x2e}...)
552 // FmtTimeShort returns the short time representation of 't' for 'uk'
553 func (uk *uk) FmtTimeShort(t time.Time) string {
555 b := make([]byte, 0, 32)
561 b = strconv.AppendInt(b, int64(t.Hour()), 10)
562 b = append(b, uk.timeSeparator...)
568 b = strconv.AppendInt(b, int64(t.Minute()), 10)
573 // FmtTimeMedium returns the medium time representation of 't' for 'uk'
574 func (uk *uk) FmtTimeMedium(t time.Time) string {
576 b := make([]byte, 0, 32)
582 b = strconv.AppendInt(b, int64(t.Hour()), 10)
583 b = append(b, uk.timeSeparator...)
589 b = strconv.AppendInt(b, int64(t.Minute()), 10)
590 b = append(b, uk.timeSeparator...)
596 b = strconv.AppendInt(b, int64(t.Second()), 10)
601 // FmtTimeLong returns the long time representation of 't' for 'uk'
602 func (uk *uk) FmtTimeLong(t time.Time) string {
604 b := make([]byte, 0, 32)
610 b = strconv.AppendInt(b, int64(t.Hour()), 10)
611 b = append(b, uk.timeSeparator...)
617 b = strconv.AppendInt(b, int64(t.Minute()), 10)
618 b = append(b, uk.timeSeparator...)
624 b = strconv.AppendInt(b, int64(t.Second()), 10)
625 b = append(b, []byte{0x20}...)
633 // FmtTimeFull returns the full time representation of 't' for 'uk'
634 func (uk *uk) FmtTimeFull(t time.Time) string {
636 b := make([]byte, 0, 32)
642 b = strconv.AppendInt(b, int64(t.Hour()), 10)
643 b = append(b, uk.timeSeparator...)
649 b = strconv.AppendInt(b, int64(t.Minute()), 10)
650 b = append(b, uk.timeSeparator...)
656 b = strconv.AppendInt(b, int64(t.Second()), 10)
657 b = append(b, []byte{0x20}...)
661 if btz, ok := uk.timezones[tz]; ok {
662 b = append(b, btz...)