calendar.go 2.0 KB

12345
  1. package rm
  2. import "github.com/go-playground/universal-translator"
  3. var calendar = ut.Calendar{Formats: ut.CalendarFormats{DateEra: ut.DateEra{BC: ut.CalendarDateFormat{Full: "EEEE, 'ils' d 'da' MMMM y", Long: "d 'da' MMMM y", Medium: "dd-MM-y", Short: "dd-MM-yy"}, AD: ut.CalendarDateFormat{Full: "EEEE, 'ils' d 'da' MMMM y", Long: "d 'da' 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{7: "fan.", 10: "oct.", 2: "favr.", 3: "mars", 5: "matg", 6: "zercl.", 8: "avust", 9: "sett.", 11: "nov.", 12: "dec.", 1: "schan.", 4: "avr."}, Narrow: ut.CalendarMonthFormatNameValue{6: "Z", 10: "O", 11: "N", 1: "S", 4: "A", 5: "M", 8: "A", 9: "S", 12: "D", 2: "F", 3: "M", 7: "F"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{4: "avrigl", 7: "fanadur", 8: "avust", 12: "december", 11: "november", 1: "schaner", 2: "favrer", 3: "mars", 5: "matg", 6: "zercladur", 9: "settember", 10: "october"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{4: "gie", 5: "ve", 6: "so", 0: "du", 1: "gli", 2: "ma", 3: "me"}, Narrow: ut.CalendarDayFormatNameValue{0: "D", 1: "G", 2: "M", 3: "M", 4: "G", 5: "V", 6: "S"}, Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{1: "glindesdi", 2: "mardi", 3: "mesemna", 4: "gievgia", 5: "venderdi", 6: "sonda", 0: "dumengia"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"am": "am", "pm": "sm"}, Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "am", "pm": "sm"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "avant Cristus", Abbrev: "av. Cr.", Narrow: ""}}}}