calendar.go 1.9 KB

12345
  1. package rn
  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{9: "Nze.", 11: "Ugu.", 12: "Uku.", 5: "Gic.", 7: "Nya.", 3: "Wer.", 4: "Mat.", 6: "Kam.", 8: "Kan.", 10: "Ukw.", 1: "Mut.", 2: "Gas."}, Narrow: ut.CalendarMonthFormatNameValue(nil), Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{11: "Munyonyo", 12: "Kigarama", 2: "Ruhuhuma", 3: "Ntwarante", 4: "Ndamukiza", 5: "Rusama", 8: "Nyandagaro", 1: "Nzero", 6: "Ruheshi", 7: "Mukakaro", 9: "Nyakanga", 10: "Gitugutu"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{4: "kan.", 5: "gnu.", 6: "gnd.", 0: "cu.", 1: "mbe.", 2: "kab.", 3: "gtu."}, Narrow: ut.CalendarDayFormatNameValue(nil), Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{0: "Ku w’indwi", 1: "Ku wa mbere", 2: "Ku wa kabiri", 3: "Ku wa gatatu", 4: "Ku wa kane", 5: "Ku wa gatanu", 6: "Ku wa gatandatu"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"am": "Z.MU.", "pm": "Z.MW."}, Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "Z.MU.", "pm": "Z.MW."}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "Mbere ya Yezu", Abbrev: "Mb.Y.", Narrow: ""}}}}