calendar.go 2.1 KB

12345
  1. package fy
  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} {0}", Long: "{1} {0}", Medium: "{1} {0}", Short: "{1} {0}"}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{7: "jul", 10: "okt", 11: "nov", 1: "jan", 3: "mrt", 4: "apr", 5: "mai", 6: "jun", 2: "feb", 8: "aug", 9: "sep", 12: "des"}, Narrow: ut.CalendarMonthFormatNameValue{4: "A", 10: "O", 11: "N", 7: "J", 8: "A", 9: "S", 1: "J", 2: "F", 3: "M", 5: "M", 6: "J", 12: "D"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{8: "augustus", 12: "desimber", 1: "jannewaris", 3: "maart", 5: "maaie", 7: "july", 10: "oktober", 11: "novimber", 2: "febrewaris", 4: "april", 6: "juny", 9: "septimber"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{5: "fr", 6: "so", 0: "si", 1: "mo", 2: "ti", 3: "wo", 4: "to"}, Narrow: ut.CalendarDayFormatNameValue{2: "D", 3: "W", 4: "D", 5: "V", 6: "Z", 0: "Z", 1: "M"}, Short: ut.CalendarDayFormatNameValue{4: "to", 5: "fr", 6: "so", 0: "si", 1: "mo", 2: "ti", 3: "wo"}, Wide: ut.CalendarDayFormatNameValue{0: "snein", 1: "moandei", 2: "tiisdei", 3: "woansdei", 4: "tongersdei", 5: "freed", 6: "sneon"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"am": "a.m.", "pm": "p.m."}, Narrow: ut.CalendarPeriodFormatNameValue{"am": "AM", "pm": "PM"}, Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "foarmiddei", "pm": "p.m."}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "nei Kristus", Abbrev: "n.Kr.", Narrow: "n.K."}, BC: ut.CalendarEraFormatNames{Full: "Foar Kristus", Abbrev: "f.Kr.", Narrow: "f.K."}}}}