calendar.go 2.0 KB

12345
  1. package fur
  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 'di' MMMM 'dal' y", Long: "d 'di' MMMM 'dal' y", Medium: "dd/MM/y", Short: "dd/MM/yy"}, AD: ut.CalendarDateFormat{Full: "EEEE d 'di' MMMM 'dal' y", Long: "d 'di' MMMM 'dal' 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: "Zen", 3: "Mar", 4: "Avr", 6: "Jug", 7: "Lui", 9: "Set", 10: "Otu", 11: "Nov", 2: "Fev", 5: "Mai", 8: "Avo", 12: "Dic"}, Narrow: ut.CalendarMonthFormatNameValue{1: "Z", 5: "M", 6: "J", 9: "S", 12: "D", 11: "N", 2: "F", 3: "M", 4: "A", 7: "L", 8: "A", 10: "O"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{11: "Novembar", 12: "Dicembar", 1: "Zenâr", 2: "Fevrâr", 3: "Març", 4: "Avrîl", 7: "Lui", 5: "Mai", 6: "Jugn", 8: "Avost", 9: "Setembar", 10: "Otubar"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{4: "joi", 5: "vin", 6: "sab", 0: "dom", 1: "lun", 2: "mar", 3: "mie"}, Narrow: ut.CalendarDayFormatNameValue{0: "D", 1: "L", 2: "M", 3: "M", 4: "J", 5: "V", 6: "S"}, Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{6: "sabide", 0: "domenie", 1: "lunis", 2: "martars", 3: "miercus", 4: "joibe", 5: "vinars"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"am": "a.", "pm": "p."}, Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "a.", "pm": "p."}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "", Abbrev: "pdC", Narrow: ""}}}}