calendar.go 1.9 KB

12345
  1. package gv
  2. import "github.com/go-playground/universal-translator"
  3. var calendar = ut.Calendar{Formats: ut.CalendarFormats{DateEra: ut.DateEra{BC: ut.CalendarDateFormat{Full: "EEEE dd MMMM y", Long: "dd MMMM y", Medium: "MMM dd, y", Short: "dd/MM/yy"}, AD: ut.CalendarDateFormat{Full: "EEEE dd MMMM y", Long: "dd MMMM y", Medium: "MMM dd, y", Short: "dd/MM/yy"}}, 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{5: "Boaldyn", 6: "M-souree", 7: "J-souree", 10: "J-fouyir", 11: "M-Houney", 12: "M-Nollick", 1: "J-guer", 4: "Avrril", 8: "Luanistyn", 9: "M-fouyir", 2: "T-arree", 3: "Mayrnt"}, Narrow: ut.CalendarMonthFormatNameValue(nil), Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{6: "Mean-souree", 7: "Jerrey-souree", 9: "Mean-fouyir", 10: "Jerrey-fouyir", 11: "Mee Houney", 2: "Toshiaght-arree", 4: "Averil", 5: "Boaldyn", 12: "Mee ny Nollick", 1: "Jerrey-geuree", 3: "Mayrnt", 8: "Luanistyn"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{6: "Jes", 0: "Jed", 1: "Jel", 2: "Jem", 3: "Jerc", 4: "Jerd", 5: "Jeh"}, Narrow: ut.CalendarDayFormatNameValue(nil), Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{4: "Jerdein", 5: "Jeheiney", 6: "Jesarn", 0: "Jedoonee", 1: "Jelhein", 2: "Jemayrt", 3: "Jercean"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"am": "a.m.", "pm": "p.m."}, Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"pm": "p.m.", "am": "a.m."}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "", Abbrev: "RC", Narrow: ""}}}}