calendar.go 2.4 KB

12345
  1. package et
  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.yy"}, AD: ut.CalendarDateFormat{Full: "EEEE, d. MMMM y", 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: "H:mm.ss", Short: "H: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{5: "mai", 7: "juuli", 8: "aug", 10: "okt", 12: "dets", 1: "jaan", 2: "veebr", 3: "märts", 4: "apr", 6: "juuni", 9: "sept", 11: "nov"}, Narrow: ut.CalendarMonthFormatNameValue{7: "J", 8: "A", 9: "S", 11: "N", 2: "V", 3: "M", 4: "A", 5: "M", 1: "J", 6: "J", 10: "O", 12: "D"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{8: "august", 10: "oktoober", 11: "november", 12: "detsember", 1: "jaanuar", 2: "veebruar", 3: "märts", 4: "aprill", 5: "mai", 6: "juuni", 7: "juuli", 9: "september"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{0: "P", 1: "E", 2: "T", 3: "K", 4: "N", 5: "R", 6: "L"}, Narrow: ut.CalendarDayFormatNameValue{0: "P", 1: "E", 2: "T", 3: "K", 4: "N", 5: "R", 6: "L"}, Short: ut.CalendarDayFormatNameValue{0: "P", 1: "E", 2: "T", 3: "K", 4: "N", 5: "R", 6: "L"}, Wide: ut.CalendarDayFormatNameValue{6: "laupäev", 0: "pühapäev", 1: "esmaspäev", 2: "teisipäev", 3: "kolmapäev", 4: "neljapäev", 5: "reede"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"am": "AM", "pm": "PM"}, Narrow: ut.CalendarPeriodFormatNameValue{"midnight": "keskööl", "am": "a", "noon": "n", "pm": "p", "morning1": "hommikul", "afternoon1": "pärastlõunal", "evening1": "õhtul", "night1": "öösel"}, Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"midnight": "kesköö", "am": "AM", "noon": "keskpäev", "pm": "PM", "morning1": "hommik", "afternoon1": "pärastlõuna", "evening1": "õhtu", "night1": "öö"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "pärast Kristust", Abbrev: "pKr", Narrow: "pKr"}, BC: ut.CalendarEraFormatNames{Full: "enne Kristust", Abbrev: "eKr", Narrow: "eKr"}}}}