calendar.go 2.2 KB

12345
  1. package hsb
  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.M.y", Short: "d.M.yy"}, AD: ut.CalendarDateFormat{Full: "EEEE, d. MMMM y", Long: "d. MMMM y", Medium: "d.M.y", Short: "d.M.yy"}}, Time: ut.CalendarDateFormat{Full: "H:mm:ss zzzz", Long: "H:mm:ss z", Medium: "H:mm:ss", Short: "H:mm 'hodź'."}, 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: "jan", 5: "mej", 6: "jun", 7: "jul", 9: "sep", 10: "okt", 2: "feb", 3: "měr", 4: "apr", 8: "awg", 11: "now", 12: "dec"}, Narrow: ut.CalendarMonthFormatNameValue{12: "d", 2: "f", 4: "a", 5: "m", 10: "o", 8: "a", 9: "s", 11: "n", 1: "j", 3: "m", 6: "j", 7: "j"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{11: "nowember", 1: "januar", 2: "februar", 3: "měrc", 4: "apryl", 5: "meja", 7: "julij", 8: "awgust", 12: "december", 6: "junij", 9: "september", 10: "oktober"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{1: "pón", 2: "wut", 3: "srj", 4: "štw", 5: "pja", 6: "sob", 0: "nje"}, Narrow: ut.CalendarDayFormatNameValue{2: "w", 3: "s", 4: "š", 5: "p", 6: "s", 0: "n", 1: "p"}, Short: ut.CalendarDayFormatNameValue{3: "sr", 4: "št", 5: "pj", 6: "so", 0: "nj", 1: "pó", 2: "wu"}, Wide: ut.CalendarDayFormatNameValue{6: "sobota", 0: "njedźela", 1: "póndźela", 2: "wutora", 3: "srjeda", 4: "štwórtk", 5: "pjatk"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"am": "dopołdnja", "pm": "popołdnju"}, Narrow: ut.CalendarPeriodFormatNameValue{"am": "dop.", "pm": "pop."}, Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "dopołdnja", "pm": "popołdnju"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "po Chrystowym narodźenju", Abbrev: "po Chr.n.", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "před Chrystowym narodźenjom", Abbrev: "př.Chr.n.", Narrow: ""}}}}