calendar.go 1.9 KB

12345
  1. package ig
  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: "dd/MM/y"}, AD: ut.CalendarDateFormat{Full: "EEEE, d MMMM y", Long: "d MMMM y", Medium: "d MMM y", Short: "dd/MM/y"}}, Time: ut.CalendarDateFormat{Full: "h:mm:ss a zzzz", Long: "h:mm:ss a z", Medium: "h:mm:ss a", Short: "h:mm a"}, DateTime: ut.CalendarDateFormat{Full: "", Long: "", Medium: "", Short: ""}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{7: "Jul", 8: "Ọgọ", 9: "Sep", 1: "Jen", 5: "Mee", 4: "Epr", 6: "Juu", 10: "Ọkt", 11: "Nov", 12: "Dis", 2: "Feb", 3: "Maa"}, Narrow: ut.CalendarMonthFormatNameValue(nil), Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{3: "Maachị", 5: "Mee", 11: "Novemba", 7: "Julaị", 8: "Ọgọọst", 9: "Septemba", 10: "Ọktoba", 1: "Jenụwarị", 2: "Febrụwarị", 4: "Eprel", 6: "Juun", 12: "Disemba"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{0: "Ụka", 1: "Mọn", 2: "Tiu", 3: "Wen", 4: "Tọọ", 5: "Fraị", 6: "Sat"}, Narrow: ut.CalendarDayFormatNameValue(nil), Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{1: "Mọnde", 2: "Tiuzdee", 3: "Wenezdee", 4: "Tọọzdee", 5: "Fraịdee", 6: "Satọdee", 0: "Mbọsị Ụka"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"am": "A.M.", "pm": "P.M."}, Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "A.M.", "pm": "P.M."}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "Tupu Kristi", Abbrev: "T.K.", Narrow: ""}}}}