calendar.go 2.1 KB

12345
  1. package ksh
  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ä' d. MMMM y", Long: "d. MMMM y", Medium: "d. MMM. y", Short: "d. M. y"}, AD: ut.CalendarDateFormat{Full: "EEEE, 'dä' d. MMMM y", Long: "d. MMMM y", Medium: "d. MMM. y", Short: "d. M. 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: "Okt.", 11: "Nov.", 1: "Jan.", 3: "Mäz.", 4: "Apr.", 5: "Mäi", 6: "Jun.", 7: "Jul.", 8: "Ouj.", 9: "Säp.", 2: "Fäb.", 12: "Dez."}, Narrow: ut.CalendarMonthFormatNameValue{7: "J", 9: "S", 10: "O", 11: "N", 3: "M", 6: "J", 4: "A", 5: "M", 8: "A", 12: "D", 1: "J", 2: "F"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{8: "Oujoß", 11: "Novämber", 2: "Fäbrowa", 4: "Aprell", 5: "Mäi", 7: "Juuli", 9: "Septämber", 10: "Oktoober", 12: "Dezämber", 1: "Jannewa", 3: "Määz", 6: "Juuni"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{1: "Mo.", 2: "Di.", 3: "Me.", 4: "Du.", 5: "Fr.", 6: "Sa.", 0: "Su."}, Narrow: ut.CalendarDayFormatNameValue{5: "F", 6: "S", 0: "S", 1: "M", 2: "D", 3: "M", 4: "D"}, Short: ut.CalendarDayFormatNameValue{2: "Di", 3: "Me", 4: "Du", 5: "Fr", 6: "Sa", 0: "Su", 1: "Mo"}, Wide: ut.CalendarDayFormatNameValue{4: "Dunnersdaach", 5: "Friidaach", 6: "Samsdaach", 0: "Sunndaach", 1: "Moondaach", 2: "Dinnsdaach", 3: "Metwoch"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"am": "v.m.", "pm": "n.m."}, Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "Vormittag", "pm": "Nachmittag"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "noh Chrestus", Abbrev: "n. Chr.", Narrow: "nC"}, BC: ut.CalendarEraFormatNames{Full: "vür Chrestus", Abbrev: "v. Chr.", Narrow: "vC"}}}}