calendar.go 2.3 KB

12345
  1. package hr
  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.y."}, AD: ut.CalendarDateFormat{Full: "EEEE, d. MMMM y.", Long: "d. MMMM y.", Medium: "d. MMM y.", Short: "dd.MM.y."}}, 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} 'u' {0}", Long: "{1} 'u' {0}", Medium: "{1} {0}", Short: "{1} {0}"}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{6: "lip", 9: "ruj", 12: "pro", 3: "ožu", 4: "tra", 5: "svi", 7: "srp", 8: "kol", 10: "lis", 11: "stu", 1: "sij", 2: "velj"}, Narrow: ut.CalendarMonthFormatNameValue{6: "6.", 10: "10.", 1: "1.", 3: "3.", 5: "5.", 8: "8.", 9: "9.", 11: "11.", 12: "12.", 2: "2.", 4: "4.", 7: "7."}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{3: "ožujak", 5: "svibanj", 6: "lipanj", 7: "srpanj", 9: "rujan", 12: "prosinac", 1: "siječanj", 2: "veljača", 4: "travanj", 8: "kolovoz", 10: "listopad", 11: "studeni"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{3: "sri", 4: "čet", 5: "pet", 6: "sub", 0: "ned", 1: "pon", 2: "uto"}, Narrow: ut.CalendarDayFormatNameValue{1: "p", 2: "u", 3: "s", 4: "č", 5: "p", 6: "s", 0: "n"}, Short: ut.CalendarDayFormatNameValue{5: "pet", 6: "sub", 0: "ned", 1: "pon", 2: "uto", 3: "sri", 4: "čet"}, Wide: ut.CalendarDayFormatNameValue{5: "petak", 6: "subota", 0: "nedjelja", 1: "ponedjeljak", 2: "utorak", 3: "srijeda", 4: "četvrtak"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"am": "AM", "pm": "PM"}, Narrow: ut.CalendarPeriodFormatNameValue{"am": "AM", "pm": "PM"}, Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "AM", "noon": "podne", "pm": "PM", "morning1": "jutro", "afternoon1": "popodne", "evening1": "večer", "night1": "noć", "midnight": "ponoć"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "poslije Krista", Abbrev: "p. Kr.", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "prije Krista", Abbrev: "pr. Kr.", Narrow: "pr.n.e."}}}}