calendar.go 2.0 KB

12345
  1. package asa
  2. import "github.com/go-playground/universal-translator"
  3. var calendar = ut.Calendar{Formats: ut.CalendarFormats{DateEra: ut.DateEra{BC: ut.CalendarDateFormat{Full: "EEEE, d MMMM y", Long: "d MMMM y", Medium: "d MMM y", Short: "dd/MM/y"}, AD: ut.CalendarDateFormat{Full: "EEEE, d MMMM y", Long: "d MMMM y", Medium: "d MMM y", Short: "dd/MM/y"}}, Time: ut.CalendarDateFormat{Full: "HH:mm:ss zzzz", Long: "HH:mm:ss z", Medium: "HH:mm:ss", Short: "HH:mm"}, DateTime: ut.CalendarDateFormat{Full: "", Long: "", Medium: "", Short: ""}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{11: "Nov", 12: "Dec", 2: "Feb", 3: "Mac", 4: "Apr", 7: "Jul", 8: "Ago", 1: "Jan", 5: "Mei", 6: "Jun", 9: "Sep", 10: "Okt"}, Narrow: ut.CalendarMonthFormatNameValue{7: "J", 9: "S", 10: "O", 1: "J", 5: "M", 6: "J", 8: "A", 11: "N", 12: "D", 2: "F", 3: "M", 4: "A"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{1: "Januari", 2: "Februari", 3: "Machi", 5: "Mei", 7: "Julai", 9: "Septemba", 4: "Aprili", 6: "Juni", 8: "Agosti", 10: "Oktoba", 11: "Novemba", 12: "Desemba"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{0: "Jpi", 1: "Jtt", 2: "Jnn", 3: "Jtn", 4: "Alh", 5: "Ijm", 6: "Jmo"}, Narrow: ut.CalendarDayFormatNameValue{6: "J", 0: "J", 1: "J", 2: "J", 3: "J", 4: "A", 5: "I"}, Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{4: "Alhamisi", 5: "Ijumaa", 6: "Jumamosi", 0: "Jumapili", 1: "Jumatatu", 2: "Jumanne", 3: "Jumatano"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"am": "icheheavo", "pm": "ichamthi"}, Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "icheheavo", "pm": "ichamthi"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "Kabla yakwe Yethu", Abbrev: "KM", Narrow: ""}}}}