calendar.go 2.2 KB

12345
  1. package dav
  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{5: "Kas", 10: "Iku", 12: "Iwi", 1: "Imb", 2: "Kaw", 3: "Kad", 4: "Kan", 6: "Kar", 7: "Mfu", 8: "Wun", 9: "Ike", 11: "Imw"}, Narrow: ut.CalendarMonthFormatNameValue{3: "K", 4: "K", 8: "W", 10: "I", 11: "I", 1: "I", 2: "K", 5: "K", 6: "K", 7: "M", 9: "I", 12: "I"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{7: "Mori ghwa mfungade", 10: "Mori ghwa ikumi", 12: "Mori ghwa ikumi na iwi", 1: "Mori ghwa imbiri", 5: "Mori ghwa kasanu", 4: "Mori ghwa kana", 6: "Mori ghwa karandadu", 8: "Mori ghwa wunyanya", 9: "Mori ghwa ikenda", 11: "Mori ghwa ikumi na imweri", 2: "Mori ghwa kawi", 3: "Mori ghwa kadadu"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{2: "Kaw", 3: "Kad", 4: "Kan", 5: "Kas", 6: "Ngu", 0: "Jum", 1: "Jim"}, Narrow: ut.CalendarDayFormatNameValue{4: "K", 5: "K", 6: "N", 0: "J", 1: "J", 2: "K", 3: "K"}, Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{0: "Ituku ja jumwa", 1: "Kuramuka jimweri", 2: "Kuramuka kawi", 3: "Kuramuka kadadu", 4: "Kuramuka kana", 5: "Kuramuka kasanu", 6: "Kifula nguwo"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"pm": "luma lwa p", "am": "Luma lwa K"}, Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "Luma lwa K", "pm": "luma lwa p"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "Kabla ya Kristo", Abbrev: "KK", Narrow: ""}}}}