calendar.go 2.4 KB

12345
  1. package zu
  2. import "github.com/go-playground/universal-translator"
  3. var calendar = ut.Calendar{Formats: ut.CalendarFormats{DateEra: ut.DateEra{BC: ut.CalendarDateFormat{Full: "EEEE, MMMM d, y", Long: "MMMM d, y", Medium: "MMM d, y", Short: "M/d/yy"}, AD: ut.CalendarDateFormat{Full: "EEEE, MMMM d, y", Long: "MMMM d, y", Medium: "MMM d, y", Short: "M/d/yy"}}, 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: "{1} {0}", Long: "{1} {0}", Medium: "{1} {0}", Short: "{1} {0}"}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{6: "Jun", 8: "Aga", 9: "Sep", 10: "Okt", 2: "Feb", 4: "Eph", 5: "Mey", 7: "Jul", 11: "Nov", 12: "Dis", 1: "Jan", 3: "Mas"}, Narrow: ut.CalendarMonthFormatNameValue{5: "M", 9: "S", 10: "O", 11: "N", 12: "D", 2: "F", 3: "M", 4: "A", 8: "A", 1: "J", 6: "J", 7: "J"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{12: "Disemba", 1: "Januwari", 2: "Februwari", 3: "Mashi", 5: "Meyi", 7: "Julayi", 8: "Agasti", 11: "Novemba", 4: "Ephreli", 6: "Juni", 9: "Septhemba", 10: "Okthoba"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{3: "Tha", 4: "Sin", 5: "Hla", 6: "Mgq", 0: "Son", 1: "Mso", 2: "Bil"}, Narrow: ut.CalendarDayFormatNameValue{6: "M", 0: "S", 1: "M", 2: "B", 3: "T", 4: "S", 5: "H"}, Short: ut.CalendarDayFormatNameValue{4: "Sin", 5: "Hla", 6: "Mgq", 0: "Son", 1: "Mso", 2: "Bil", 3: "Tha"}, Wide: ut.CalendarDayFormatNameValue{0: "ISonto", 1: "UMsombuluko", 2: "ULwesibili", 3: "ULwesithathu", 4: "ULwesine", 5: "ULwesihlanu", 6: "UMgqibelo"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"am": "AM", "pm": "PM", "morning1": "entathakusa", "morning2": "ekuseni", "afternoon1": "emini", "evening1": "ebusuku1", "night1": "ebusuku"}, Narrow: ut.CalendarPeriodFormatNameValue{"pm": "p", "morning1": "entathakusa", "morning2": "ekuseni", "afternoon1": "emini", "evening1": "ebusuku1", "night1": "ebusuku", "am": "a"}, Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"morning1": "entathakusa", "morning2": "ekuseni2", "afternoon1": "emini", "evening1": "ebusuku1", "night1": "ebusuku", "am": "AM", "pm": "PM"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "AD", Abbrev: "AD", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "BC", Abbrev: "BC", Narrow: ""}}}}