calendar.go 2.1 KB

12345
  1. package cy
  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/yy"}, AD: ut.CalendarDateFormat{Full: "EEEE, d MMMM y", Long: "d MMMM y", Medium: "d MMM 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: "{1} 'am' {0}", Long: "{1} 'am' {0}", Medium: "{1} {0}", Short: "{1} {0}"}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{1: "Ion", 3: "Maw", 5: "Mai", 7: "Gor", 8: "Awst", 9: "Medi", 12: "Rhag", 2: "Chw", 4: "Ebr", 6: "Meh", 10: "Hyd", 11: "Tach"}, Narrow: ut.CalendarMonthFormatNameValue{2: "Ch", 4: "E", 5: "M", 6: "M", 7: "G", 12: "Rh", 1: "I", 3: "M", 8: "A", 9: "M", 10: "H", 11: "T"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{6: "Mehefin", 8: "Awst", 9: "Medi", 12: "Rhagfyr", 2: "Chwefror", 3: "Mawrth", 5: "Mai", 7: "Gorffennaf", 10: "Hydref", 11: "Tachwedd", 1: "Ionawr", 4: "Ebrill"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{2: "Maw", 3: "Mer", 4: "Iau", 5: "Gwe", 6: "Sad", 0: "Sul", 1: "Llun"}, Narrow: ut.CalendarDayFormatNameValue{4: "I", 5: "G", 6: "S", 0: "S", 1: "Ll", 2: "M", 3: "M"}, Short: ut.CalendarDayFormatNameValue{0: "Su", 1: "Ll", 2: "Ma", 3: "Me", 4: "Ia", 5: "Gw", 6: "Sa"}, Wide: ut.CalendarDayFormatNameValue{1: "Dydd Llun", 2: "Dydd Mawrth", 3: "Dydd Mercher", 4: "Dydd Iau", 5: "Dydd Gwener", 6: "Dydd Sadwrn", 0: "Dydd Sul"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"am": "AM", "pm": "PM"}, Narrow: ut.CalendarPeriodFormatNameValue{"am": "AM", "pm": "PM"}, Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "AM", "pm": "PM"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "Oed Crist", Abbrev: "OC", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "Cyn Crist", Abbrev: "CC", Narrow: "C"}}}}