calendar.go 2.5 KB

12345
  1. package uz
  2. import "github.com/go-playground/universal-translator"
  3. var calendar = ut.Calendar{Formats: ut.CalendarFormats{DateEra: ut.DateEra{BC: ut.CalendarDateFormat{Full: "EEEE, y MMMM dd", Long: "d-MMMM, y", Medium: "d-MMM, y", Short: "dd/MM/yy"}, AD: ut.CalendarDateFormat{Full: "EEEE, y MMMM dd", Long: "d-MMMM, y", Medium: "d-MMM, y", Short: "dd/MM/yy"}}, Time: ut.CalendarDateFormat{Full: "H:mm:ss (zzzz)", Long: "H: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{2: "Fev", 3: "Mar", 6: "Iyun", 7: "Iyul", 10: "Okt", 11: "Noya", 12: "Dek", 1: "Yanv", 4: "Apr", 5: "May", 8: "Avg", 9: "Sen"}, Narrow: ut.CalendarMonthFormatNameValue{2: "F", 7: "I", 8: "A", 9: "S", 1: "Y", 3: "M", 4: "A", 5: "M", 6: "I", 10: "O", 11: "N", 12: "D"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{2: "Fevral", 3: "Mart", 4: "Aprel", 7: "Iyul", 9: "Sentabr", 10: "Oktabr", 12: "Dekabr", 1: "Yanvar", 6: "Iyun", 8: "Avgust", 11: "Noyabr", 5: "May"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{3: "Ch", 4: "Pa", 5: "Ju", 6: "Sh", 0: "Ya", 1: "Du", 2: "Se"}, Narrow: ut.CalendarDayFormatNameValue{1: "D", 2: "S", 3: "C", 4: "P", 5: "J", 6: "S", 0: "Y"}, Short: ut.CalendarDayFormatNameValue{2: "Se", 3: "Ch", 4: "Pa", 5: "Ju", 6: "Sh", 0: "Ya", 1: "Du"}, Wide: ut.CalendarDayFormatNameValue{4: "payshanba", 5: "juma", 6: "shanba", 0: "yakshanba", 1: "dushanba", 2: "seshanba", 3: "chorshanba"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"midnight": "yarim kechasi", "am": "TO", "noon": "tush payti", "pm": "TK", "morning1": "ertalab", "afternoon1": "kunduzi", "evening1": "kechqurun", "night1": "kechasi"}, Narrow: ut.CalendarPeriodFormatNameValue{"night1": "kechasi", "midnight": "yarim kechasi", "am": "TO", "noon": "tush payti", "pm": "TK", "morning1": "ertalab", "afternoon1": "kunduzi", "evening1": "kechqurun"}, Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "TO", "noon": "tush payti", "pm": "TK", "morning1": "ertalab", "afternoon1": "kunduzi", "evening1": "kechqurun", "night1": "kechasi", "midnight": "yarim kechasi"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "milodiy", Abbrev: "milodiy", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "miloddan avvalgi", Abbrev: "m.a.", Narrow: ""}}}}