calendar.go 2.4 KB

12345
  1. package es_MX
  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 'de' MMMM 'de' y", Long: "d 'de' MMMM 'de' y", Medium: "dd/MM/y", Short: "dd/MM/yy"}, AD: ut.CalendarDateFormat{Full: "EEEE, d 'de' MMMM 'de' y", Long: "d 'de' MMMM 'de' y", Medium: "dd/MM/y", Short: "dd/MM/yy"}}, Time: ut.CalendarDateFormat{Full: "H:mm:ss (zzzz)", Long: "H:mm:ss z", Medium: "H:mm:ss", Short: "H: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{1: "ene", 7: "jul", 8: "ago", 11: "nov", 12: "dic", 9: "sep", 10: "oct", 2: "feb", 3: "mar", 4: "abr", 5: "may", 6: "jun"}, Narrow: ut.CalendarMonthFormatNameValue{12: "D", 2: "F", 4: "A", 7: "J", 11: "N", 1: "E", 5: "M", 9: "S", 10: "O", 3: "M", 6: "J", 8: "A"}, Short: ut.CalendarMonthFormatNameValue{}, Wide: ut.CalendarMonthFormatNameValue{3: "marzo", 10: "octubre", 11: "noviembre", 1: "enero", 2: "febrero", 7: "julio", 5: "mayo", 6: "junio", 4: "abril", 8: "agosto", 12: "diciembre", 9: "septiembre"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{5: "vie.", 6: "sáb.", 0: "dom.", 1: "lun.", 2: "mar.", 3: "mié.", 4: "jue."}, Narrow: ut.CalendarDayFormatNameValue{0: "D", 1: "L", 2: "M", 3: "M", 4: "J", 5: "V", 6: "S"}, Short: ut.CalendarDayFormatNameValue{0: "do", 1: "lu", 2: "ma", 3: "mi", 4: "ju", 5: "vi", 6: "sá"}, Wide: ut.CalendarDayFormatNameValue{3: "miércoles", 4: "jueves", 5: "viernes", 6: "sábado", 0: "domingo", 1: "lunes", 2: "martes"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"morning1": "madrugada", "morning2": "mañana", "evening1": "tarde", "night1": "noche", "am": "a. m.", "noon": "mediodía", "pm": "p. m."}, Narrow: ut.CalendarPeriodFormatNameValue{"noon": "mediodía", "pm": "p. m.", "morning1": "madrugada", "morning2": "mañana", "evening1": "tarde", "night1": "noche", "am": "a. m."}, Short: ut.CalendarPeriodFormatNameValue{}, Wide: ut.CalendarPeriodFormatNameValue{"pm": "p. m.", "morning1": "madrugada", "morning2": "mañana", "evening1": "tarde", "night1": "noche", "am": "a. m.", "noon": "mediodía"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}}}}