calendar.go 2.2 KB

12345
  1. package ti
  2. import "github.com/go-playground/universal-translator"
  3. var calendar = ut.Calendar{Formats: ut.CalendarFormats{DateEra: ut.DateEra{BC: ut.CalendarDateFormat{Full: "EEEE፣ dd MMMM መዓልቲ y G", Long: "dd MMMM y", Medium: "dd-MMM-y", Short: "dd/MM/yy"}, AD: ut.CalendarDateFormat{Full: "EEEE፣ dd MMMM መዓልቲ y G", Long: "dd MMMM y", Medium: "dd-MMM-y", Short: "dd/MM/yy"}}, Time: ut.CalendarDateFormat{Full: "h:mm:ss a zzzz", Long: "h:mm:ss a z", Medium: "h:mm:ss a", Short: "h:mm a"}, DateTime: ut.CalendarDateFormat{Full: "", Long: "", Medium: "", Short: ""}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{3: "ማርች", 8: "ኦገስ", 9: "ሴፕቴ", 10: "ኦክተ", 2: "ፌብሩ", 4: "ኤፕረ", 5: "ሜይ", 6: "ጁን", 7: "ጁላይ", 11: "ኖቬም", 12: "ዲሴም", 1: "ጃንዩ"}, Narrow: ut.CalendarMonthFormatNameValue{9: "ሴ", 10: "ኦ", 12: "ዲ", 7: "ጁ", 8: "ኦ", 3: "ማ", 4: "ኤ", 5: "ሜ", 6: "ጁ", 11: "ኖ", 1: "ጃ", 2: "ፌ"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{7: "ጁላይ", 8: "ኦገስት", 9: "ሴፕቴምበር", 1: "ጃንዩወሪ", 5: "ሜይ", 6: "ጁን", 10: "ኦክተውበር", 11: "ኖቬምበር", 12: "ዲሴምበር", 2: "ፌብሩወሪ", 3: "ማርች", 4: "ኤፕረል"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue(nil), Narrow: ut.CalendarDayFormatNameValue{1: "ሰ", 2: "ሠ", 3: "ረ", 4: "ኃ", 5: "ዓ", 6: "ቀ", 0: "ሰ"}, Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{5: "ዓርቢ", 6: "ቀዳም", 0: "ሰንበት", 1: "ሰኑይ", 2: "ሠሉስ", 3: "ረቡዕ", 4: "ኃሙስ"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"am": "ንጉሆ ሰዓተ", "pm": "ድሕር ሰዓት"}, Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "ንጉሆ ሰዓተ", "pm": "ድሕር ሰዓት"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "", Abbrev: "ዓ/ዓ", Narrow: ""}}}}