calendar.go 2.1 KB

12345
  1. package kea
  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 'di' MMMM 'di' y", Long: "d 'di' MMMM 'di' y", Medium: "d MMM y", Short: "d/M/y"}, AD: ut.CalendarDateFormat{Full: "EEEE, d 'di' MMMM 'di' y", Long: "d 'di' MMMM 'di' 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: "{1} {0}", Long: "{1} {0}", Medium: "{1} {0}", Short: "{1} {0}"}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{9: "Set", 10: "Otu", 1: "Jan", 2: "Feb", 3: "Mar", 4: "Abr", 6: "Jun", 8: "Ago", 5: "Mai", 7: "Jul", 11: "Nuv", 12: "Diz"}, Narrow: ut.CalendarMonthFormatNameValue{5: "M", 10: "O", 4: "A", 6: "J", 7: "J", 8: "A", 9: "S", 1: "J", 2: "F", 3: "M", 11: "N", 12: "D"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{3: "Marsu", 4: "Abril", 6: "Junhu", 9: "Setenbru", 11: "Nuvenbru", 12: "Dizenbru", 1: "Janeru", 2: "Febreru", 5: "Maiu", 7: "Julhu", 8: "Agostu", 10: "Otubru"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{4: "kin", 5: "ses", 6: "sab", 0: "dum", 1: "sig", 2: "ter", 3: "kua"}, Narrow: ut.CalendarDayFormatNameValue{0: "d", 1: "s", 2: "t", 3: "k", 4: "k", 5: "s", 6: "s"}, Short: ut.CalendarDayFormatNameValue{0: "du", 1: "si", 2: "te", 3: "ku", 4: "ki", 5: "se", 6: "sa"}, Wide: ut.CalendarDayFormatNameValue{6: "sabadu", 0: "dumingu", 1: "sigunda-fera", 2: "tersa-fera", 3: "kuarta-fera", 4: "kinta-fera", 5: "sesta-fera"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"am": "am", "pm": "pm"}, Narrow: ut.CalendarPeriodFormatNameValue{"am": "a", "pm": "p"}, Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "am", "pm": "pm"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "Dispos di Kristu", Abbrev: "DK", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "Antis di Kristu", Abbrev: "AK", Narrow: ""}}}}