12345 |
- package bs
- import "github.com/go-playground/universal-translator"
- var calendar = ut.Calendar{Formats: ut.CalendarFormats{DateEra: ut.DateEra{BC: ut.CalendarDateFormat{Full: "EEEE, dd. MMMM y.", Long: "dd. MMMM y.", Medium: "dd. MMM. y.", Short: "dd.MM.yy."}, AD: ut.CalendarDateFormat{Full: "EEEE, dd. MMMM y.", Long: "dd. MMMM y.", Medium: "dd. 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} 'u' {0}", Long: "{1} 'u' {0}", Medium: "{1} {0}", Short: "{1} {0}"}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{1: "jan", 3: "mar", 5: "maj", 7: "jul", 12: "dec", 10: "okt", 11: "nov", 2: "feb", 4: "apr", 6: "jun", 8: "aug", 9: "sep"}, Narrow: ut.CalendarMonthFormatNameValue{7: "j", 8: "a", 10: "o", 11: "n", 12: "d", 1: "j", 3: "m", 5: "m", 6: "j", 9: "s", 2: "f", 4: "a"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{12: "decembar", 4: "april", 6: "juni", 7: "juli", 8: "august", 9: "septembar", 10: "oktobar", 11: "novembar", 1: "januar", 2: "februar", 3: "mart", 5: "maj"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{0: "ned", 1: "pon", 2: "uto", 3: "sri", 4: "čet", 5: "pet", 6: "sub"}, Narrow: ut.CalendarDayFormatNameValue{6: "s", 0: "n", 1: "p", 2: "u", 3: "s", 4: "č", 5: "p"}, Short: ut.CalendarDayFormatNameValue{4: "čet", 5: "pet", 6: "sub", 0: "ned", 1: "pon", 2: "uto", 3: "sri"}, Wide: ut.CalendarDayFormatNameValue{0: "nedjelja", 1: "ponedjeljak", 2: "utorak", 3: "srijeda", 4: "četvrtak", 5: "petak", 6: "subota"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"night1": "noć", "midnight": "ponoć", "am": "prijepodne", "noon": "podne", "pm": "popodne", "morning1": "jutro", "afternoon1": "poslijepodne", "evening1": "večer"}, Narrow: ut.CalendarPeriodFormatNameValue{"am": "prijepodne", "noon": "podne", "pm": "popodne"}, Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"pm": "popodne", "morning1": "jutro", "afternoon1": "poslijepodne", "evening1": "veče", "night1": "noć", "midnight": "u ponoć", "am": "prije podne", "noon": "podne"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "Nove ere", Abbrev: "n. e.", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "Prije nove ere", Abbrev: "p. n. e.", Narrow: "pr.n.e."}}}}
|