calendar.go 1.9 KB

12345
  1. package mg
  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: "d/M/y"}, AD: ut.CalendarDateFormat{Full: "EEEE 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{12: "Des", 3: "Mar", 4: "Apr", 9: "Sep", 6: "Jon", 7: "Jol", 8: "Aog", 10: "Okt", 11: "Nov", 1: "Jan", 2: "Feb", 5: "Mey"}, Narrow: ut.CalendarMonthFormatNameValue{11: "N", 3: "M", 4: "A", 5: "M", 7: "J", 8: "A", 10: "O", 1: "J", 2: "F", 6: "J", 9: "S", 12: "D"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{4: "Aprily", 7: "Jolay", 10: "Oktobra", 6: "Jona", 8: "Aogositra", 9: "Septambra", 11: "Novambra", 1: "Janoary", 2: "Febroary", 3: "Martsa", 5: "Mey", 12: "Desambra"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{0: "Alah", 1: "Alats", 2: "Tal", 3: "Alar", 4: "Alak", 5: "Zom", 6: "Asab"}, Narrow: ut.CalendarDayFormatNameValue{1: "A", 2: "T", 3: "A", 4: "A", 5: "Z", 6: "A", 0: "A"}, Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{5: "Zoma", 6: "Asabotsy", 0: "Alahady", 1: "Alatsinainy", 2: "Talata", 3: "Alarobia", 4: "Alakamisy"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue(nil), Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue(nil)}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "Alohan’i JK", Abbrev: "BC", Narrow: ""}}}}