calendar.go 2.6 KB

12345
  1. package en_AU
  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 GGGG", Long: "MMMM d, y GG", Medium: "MMM d, y", Short: "d/M/yy"}, AD: ut.CalendarDateFormat{Full: "EEEE, MMMM d, y", Long: "MMMM d, y", Medium: "MMM d, y", Short: "d/M/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: "{1} 'at' {0}", Long: "{1} 'at' {0}", Medium: "{1}, {0}", Short: "{1}, {0}"}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{3: "Mar.", 5: "May", 7: "Jul.", 9: "Sep.", 11: "Nov.", 12: "Dec.", 1: "Jan.", 2: "Feb.", 8: "Aug.", 10: "Oct.", 4: "Apr.", 6: "Jun."}, Narrow: ut.CalendarMonthFormatNameValue{4: "Apr.", 5: "May", 9: "Sep.", 11: "Nov.", 8: "Aug.", 10: "Oct.", 12: "Dec.", 1: "Jan.", 2: "Feb.", 3: "Mar.", 6: "Jun.", 7: "Jul."}, Short: ut.CalendarMonthFormatNameValue{}, Wide: ut.CalendarMonthFormatNameValue{12: "December", 5: "May", 10: "October", 8: "August", 9: "September", 1: "January", 2: "February", 3: "March", 6: "June", 4: "April", 7: "July", 11: "November"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{0: "Sun.", 1: "Mon.", 2: "Tue.", 3: "Wed.", 4: "Thu.", 5: "Fri.", 6: "Sat."}, Narrow: ut.CalendarDayFormatNameValue{6: "Sa.", 0: "Su.", 1: "M.", 2: "Tu.", 3: "W.", 4: "Th.", 5: "F."}, Short: ut.CalendarDayFormatNameValue{3: "Wed.", 4: "Th.", 5: "Fri.", 6: "Sat.", 0: "Su.", 1: "Mon.", 2: "Tu."}, Wide: ut.CalendarDayFormatNameValue{6: "Saturday", 0: "Sunday", 1: "Monday", 2: "Tuesday", 3: "Wednesday", 4: "Thursday", 5: "Friday"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"evening1": "in the evening", "night1": "at night", "midnight": "midnight", "am": "am", "noon": "midday", "pm": "pm", "morning1": "in the morning", "afternoon1": "in the afternoon"}, Narrow: ut.CalendarPeriodFormatNameValue{"pm": "pm", "morning1": "in the morning", "afternoon1": "in the afternoon", "evening1": "in the evening", "night1": "at night", "midnight": "mi", "am": "am", "noon": "midday"}, Short: ut.CalendarPeriodFormatNameValue{}, Wide: ut.CalendarPeriodFormatNameValue{"afternoon1": "afternoon", "evening1": "evening", "night1": "night", "midnight": "midnight", "morning1": "morning", "am": "am", "noon": "midday", "pm": "pm"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}}}}