calendar.go 2.0 KB

12345
  1. package nd
  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{9: "Mpan", 10: "Mfu", 11: "Lwe", 3: "Mbi", 4: "Mab", 5: "Nkw", 7: "Ntu", 12: "Mpal", 1: "Zib", 2: "Nhlo", 6: "Nhla", 8: "Ncw"}, Narrow: ut.CalendarMonthFormatNameValue{1: "Z", 2: "N", 3: "M", 6: "N", 9: "M", 12: "M", 4: "M", 5: "N", 7: "N", 8: "N", 10: "M", 11: "L"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{1: "Zibandlela", 4: "Mabasa", 5: "Nkwenkwezi", 7: "Ntulikazi", 10: "Mfumfu", 11: "Lwezi", 12: "Mpalakazi", 2: "Nhlolanja", 3: "Mbimbitho", 6: "Nhlangula", 8: "Ncwabakazi", 9: "Mpandula"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{4: "Sin", 5: "Sih", 6: "Mgq", 0: "Son", 1: "Mvu", 2: "Sib", 3: "Sit"}, Narrow: ut.CalendarDayFormatNameValue{0: "S", 1: "M", 2: "S", 3: "S", 4: "S", 5: "S", 6: "M"}, Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{6: "Mgqibelo", 0: "Sonto", 1: "Mvulo", 2: "Sibili", 3: "Sithathu", 4: "Sine", 5: "Sihlanu"}}, 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: "UKristo angakabuyi", Abbrev: "BC", Narrow: ""}}}}