calendar.go 2.0 KB

12345
  1. package gsw
  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: "dd.MM.y", Short: "dd.MM.yy"}, AD: ut.CalendarDateFormat{Full: "EEEE, d. MMMM y", Long: "d. MMMM y", Medium: "dd.MM.y", Short: "dd.MM.yy"}}, 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{1: "Jan", 3: "Mär", 5: "Mai", 6: "Jun", 9: "Sep", 12: "Dez", 2: "Feb", 4: "Apr", 7: "Jul", 8: "Aug", 10: "Okt", 11: "Nov"}, Narrow: ut.CalendarMonthFormatNameValue{2: "F", 5: "M", 9: "S", 10: "O", 11: "N", 12: "D", 1: "J", 3: "M", 4: "A", 6: "J", 7: "J", 8: "A"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{1: "Januar", 2: "Februar", 3: "März", 4: "April", 5: "Mai", 11: "Novämber", 12: "Dezämber", 6: "Juni", 7: "Juli", 8: "Auguscht", 9: "Septämber", 10: "Oktoober"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{0: "Su.", 1: "Mä.", 2: "Zi.", 3: "Mi.", 4: "Du.", 5: "Fr.", 6: "Sa."}, Narrow: ut.CalendarDayFormatNameValue{1: "M", 2: "D", 3: "M", 4: "D", 5: "F", 6: "S", 0: "S"}, Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{5: "Friitig", 6: "Samschtig", 0: "Sunntig", 1: "Määntig", 2: "Ziischtig", 3: "Mittwuch", 4: "Dunschtig"}}, 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": "Namittag"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "n. Chr.", Abbrev: "n. Chr.", Narrow: "n. Chr."}, BC: ut.CalendarEraFormatNames{Full: "v. Chr.", Abbrev: "v. Chr.", Narrow: "v. Chr."}}}}