calendar.go 2.5 KB

12345
  1. package nl
  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{11: "nov.", 12: "dec.", 1: "jan.", 2: "feb.", 4: "apr.", 6: "jun.", 8: "aug.", 3: "mrt.", 5: "mei", 7: "jul.", 9: "sep.", 10: "okt."}, Narrow: ut.CalendarMonthFormatNameValue{12: "D", 4: "A", 5: "M", 6: "J", 11: "N", 8: "A", 9: "S", 10: "O", 1: "J", 2: "F", 3: "M", 7: "J"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{7: "juli", 8: "augustus", 1: "januari", 2: "februari", 3: "maart", 4: "april", 5: "mei", 6: "juni", 10: "oktober", 9: "september", 11: "november", 12: "december"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{2: "di", 3: "wo", 4: "do", 5: "vr", 6: "za", 0: "zo", 1: "ma"}, Narrow: ut.CalendarDayFormatNameValue{3: "W", 4: "D", 5: "V", 6: "Z", 0: "Z", 1: "M", 2: "D"}, Short: ut.CalendarDayFormatNameValue{1: "ma", 2: "di", 3: "wo", 4: "do", 5: "vr", 6: "za", 0: "zo"}, Wide: ut.CalendarDayFormatNameValue{2: "dinsdag", 3: "woensdag", 4: "donderdag", 5: "vrijdag", 6: "zaterdag", 0: "zondag", 1: "maandag"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"afternoon1": "middag", "evening1": "avond", "night1": "nacht", "midnight": "middernacht", "am": "a.m.", "pm": "p.m.", "morning1": "ochtend"}, Narrow: ut.CalendarPeriodFormatNameValue{"midnight": "middernacht", "am": "a.m.", "pm": "p.m.", "morning1": "ochtend", "afternoon1": "middag", "evening1": "avond", "night1": "nacht"}, Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"midnight": "middernacht", "am": "a.m.", "pm": "p.m.", "morning1": "ochtend", "afternoon1": "middag", "evening1": "avond", "night1": "nacht"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "na Christus", Abbrev: "n.Chr.", Narrow: "n.C."}, BC: ut.CalendarEraFormatNames{Full: "voor Christus", Abbrev: "v.Chr.", Narrow: "v.C."}}}}