calendar.go 2.2 KB

12345
  1. package kl
  2. import "github.com/go-playground/universal-translator"
  3. var calendar = ut.Calendar{Formats: ut.CalendarFormats{DateEra: ut.DateEra{BC: ut.CalendarDateFormat{Full: "EEEE dd MMMM y", Long: "dd MMMM y", Medium: "MMM dd, y", Short: "y-MM-dd"}, AD: ut.CalendarDateFormat{Full: "EEEE dd MMMM y", Long: "dd MMMM y", Medium: "MMM dd, y", Short: "y-MM-dd"}}, Time: ut.CalendarDateFormat{Full: "h:mm:ss a zzzz", Long: "h:mm:ss a z", Medium: "h:mm:ss a", Short: "h:mm a"}, 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", 4: "apr", 6: "jun", 8: "aug", 9: "sep", 10: "okt", 2: "feb", 3: "mar", 5: "maj", 7: "jul"}, Narrow: ut.CalendarMonthFormatNameValue{1: "J", 10: "O", 11: "N", 12: "D", 6: "J", 7: "J", 8: "A", 9: "S", 2: "F", 3: "M", 4: "A", 5: "M"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{11: "novemberi", 1: "januari", 3: "martsi", 5: "maji", 6: "juni", 7: "juli", 9: "septemberi", 10: "oktoberi", 2: "februari", 4: "aprili", 8: "augustusi", 12: "decemberi"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{1: "ata", 2: "mar", 3: "pin", 4: "sis", 5: "tal", 6: "arf", 0: "sab"}, Narrow: ut.CalendarDayFormatNameValue{5: "T", 6: "A", 0: "S", 1: "A", 2: "M", 3: "P", 4: "S"}, Short: ut.CalendarDayFormatNameValue{5: "tal", 6: "arf", 0: "sab", 1: "ata", 2: "mar", 3: "pin", 4: "sis"}, Wide: ut.CalendarDayFormatNameValue{5: "tallimanngorneq", 6: "arfininngorneq", 0: "sabaat", 1: "ataasinngorneq", 2: "marlunngorneq", 3: "pingasunngorneq", 4: "sisamanngorneq"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"am": "u.t.", "pm": "u.k."}, Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "ulloqeqqata-tungaa", "pm": "ulloqeqqata-kingorna"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "Kristusip inunngornerata kingornagut", Abbrev: "Kr.in.king.", Narrow: "Kr.k."}, BC: ut.CalendarEraFormatNames{Full: "Kristusip inunngornerata siornagut", Abbrev: "Kr.in.si.", Narrow: "Kr.s."}}}}