calendar.go 2.1 KB

12345
  1. package so
  2. import "github.com/go-playground/universal-translator"
  3. var calendar = ut.Calendar{Formats: ut.CalendarFormats{DateEra: ut.DateEra{BC: ut.CalendarDateFormat{Full: "EEEE, MMMM dd, y", Long: "dd MMMM y", Medium: "dd-MMM-y", Short: "dd/MM/yy"}, AD: ut.CalendarDateFormat{Full: "EEEE, MMMM dd, y", 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{10: "Tob", 1: "Kob", 5: "Sha", 6: "Lix", 8: "Sid", 9: "Sag", 12: "LIT", 2: "Lab", 3: "Sad", 4: "Afr", 7: "Tod", 11: "KIT"}, Narrow: ut.CalendarMonthFormatNameValue{6: "L", 7: "T", 9: "S", 11: "K", 1: "K", 2: "L", 4: "A", 10: "T", 12: "L", 3: "S", 5: "S", 8: "S"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{3: "Bisha Saddexaad", 6: "Bisha Lixaad", 10: "Bisha Tobnaad", 2: "Bisha Labaad", 4: "Bisha Afraad", 5: "Bisha Shanaad", 7: "Bisha Todobaad", 8: "Bisha Sideedaad", 9: "Bisha Sagaalaad", 11: "Bisha Kow iyo Tobnaad", 12: "Bisha Laba iyo Tobnaad", 1: "Bisha Koobaad"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{1: "Isn", 2: "Tal", 3: "Arb", 4: "Kha", 5: "Jim", 6: "Sab", 0: "Axd"}, Narrow: ut.CalendarDayFormatNameValue{2: "T", 3: "A", 4: "K", 5: "J", 6: "S", 0: "A", 1: "I"}, Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{4: "Khamiis", 5: "Jimco", 6: "Sabti", 0: "Axad", 1: "Isniin", 2: "Talaado", 3: "Arbaco"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"am": "sn.", "pm": "gn."}, Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "sn.", "pm": "gn."}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "Ciise ka hor (CS)", Abbrev: "CK", Narrow: ""}}}}