calendar.go 2.2 KB

12345
  1. package bez
  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{10: "Kum", 11: "Kmj", 1: "Hut", 2: "Vil", 5: "Han", 7: "Sab", 9: "Tis", 3: "Dat", 4: "Tai", 6: "Sit", 8: "Nan", 12: "Kmb"}, Narrow: ut.CalendarMonthFormatNameValue{5: "H", 6: "S", 12: "K", 1: "H", 2: "V", 7: "S", 8: "N", 9: "T", 10: "K", 11: "K", 3: "D", 4: "T"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{7: "pa mwedzi gwa saba", 2: "pa mwedzi gwa wuvili", 3: "pa mwedzi gwa wudatu", 5: "pa mwedzi gwa wuhanu", 8: "pa mwedzi gwa nane", 9: "pa mwedzi gwa tisa", 10: "pa mwedzi gwa kumi", 11: "pa mwedzi gwa kumi na moja", 12: "pa mwedzi gwa kumi na mbili", 1: "pa mwedzi gwa hutala", 4: "pa mwedzi gwa wutai", 6: "pa mwedzi gwa sita"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{6: "Lem", 0: "Mul", 1: "Vil", 2: "Hiv", 3: "Hid", 4: "Hit", 5: "Hih"}, Narrow: ut.CalendarDayFormatNameValue{3: "H", 4: "H", 5: "W", 6: "J", 0: "M", 1: "J", 2: "H"}, Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{6: "pa shahulembela", 0: "pa mulungu", 1: "pa shahuviluha", 2: "pa hivili", 3: "pa hidatu", 4: "pa hitayi", 5: "pa hihanu"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"am": "pamilau", "pm": "pamunyi"}, Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "pamilau", "pm": "pamunyi"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "Kabla ya Mtwaa", Abbrev: "KM", Narrow: ""}}}}