calendar.go 1.8 KB

12345
  1. package rw
  2. import "github.com/go-playground/universal-translator"
  3. var calendar = ut.Calendar{Formats: ut.CalendarFormats{DateEra: ut.DateEra{BC: ut.CalendarDateFormat{Full: "EEEE, y MMMM dd", Long: "y MMMM d", Medium: "y MMM d", Short: "yy/MM/dd"}, AD: ut.CalendarDateFormat{Full: "EEEE, y MMMM dd", Long: "y MMMM d", Medium: "y MMM d", Short: "yy/MM/dd"}}, 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.", 2: "gas.", 4: "mat.", 5: "gic.", 7: "nya.", 8: "kan.", 10: "ukw.", 11: "ugu.", 12: "uku.", 1: "mut.", 3: "wer.", 6: "kam."}, Narrow: ut.CalendarMonthFormatNameValue(nil), Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{2: "Gashyantare", 4: "Mata", 6: "Kamena", 7: "Nyakanga", 8: "Kanama", 11: "Ugushyingo", 12: "Ukuboza", 1: "Mutarama", 3: "Werurwe", 5: "Gicuransi", 9: "Nzeli", 10: "Ukwakira"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{2: "kab.", 3: "gtu.", 4: "kan.", 5: "gnu.", 6: "gnd.", 0: "cyu.", 1: "mbe."}, Narrow: ut.CalendarDayFormatNameValue(nil), Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{3: "Kuwa gatatu", 4: "Kuwa kane", 5: "Kuwa gatanu", 6: "Kuwa gatandatu", 0: "Ku cyumweru", 1: "Kuwa mbere", 2: "Kuwa kabiri"}}, 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: "", Abbrev: "", Narrow: ""}}}}