calendar.go 2.0 KB

12345
  1. package om
  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 d, y", Long: "dd MMMM y", Medium: "dd-MMM-y", Short: "dd/MM/yy"}, AD: ut.CalendarDateFormat{Full: "EEEE, MMMM d, 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{4: "Elb", 10: "Onk", 12: "Mud", 1: "Ama", 2: "Gur", 6: "Wax", 7: "Ado", 8: "Hag", 9: "Ful", 11: "Sad", 3: "Bit", 5: "Cam"}, Narrow: ut.CalendarMonthFormatNameValue{1: "J", 2: "F", 4: "A", 9: "S", 10: "O", 11: "N", 12: "D", 3: "M", 5: "M", 6: "J", 7: "J", 8: "A"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{5: "Caamsa", 8: "Hagayya", 9: "Fuulbana", 10: "Onkololeessa", 1: "Amajjii", 4: "Elba", 6: "Waxabajjii", 7: "Adooleessa", 11: "Sadaasa", 12: "Muddee", 2: "Guraandhala", 3: "Bitooteessa"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{0: "Dil", 1: "Wix", 2: "Qib", 3: "Rob", 4: "Kam", 5: "Jim", 6: "San"}, Narrow: ut.CalendarDayFormatNameValue{0: "S", 1: "M", 2: "T", 3: "W", 4: "T", 5: "F", 6: "S"}, Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{1: "Wiixata", 2: "Qibxata", 3: "Roobii", 4: "Kamiisa", 5: "Jimaata", 6: "Sanbata", 0: "Dilbata"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"am": "WD", "pm": "WB"}, Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "WD", "pm": "WB"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "", Abbrev: "KD", Narrow: ""}}}}