calendar.go 2.7 KB

12345
  1. package zh_Hans_MO
  2. import "github.com/go-playground/universal-translator"
  3. var calendar = ut.Calendar{Formats: ut.CalendarFormats{DateEra: ut.DateEra{BC: ut.CalendarDateFormat{Full: "y年M月d日EEEE", Long: "y年M月d日", Medium: "y年M月d日", Short: "d/M/yy"}, AD: ut.CalendarDateFormat{Full: "y年M月d日EEEE", Long: "y年M月d日", Medium: "y年M月d日", Short: "d/M/yy"}}, Time: ut.CalendarDateFormat{Full: "zzzz ah:mm:ss", Long: "z ah:mm:ss", Medium: "ah:mm:ss", Short: "ah: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{6: "6月", 10: "10月", 11: "11月", 12: "12月", 1: "1月", 2: "2月", 3: "3月", 5: "5月", 4: "4月", 7: "7月", 8: "8月", 9: "9月"}, Narrow: ut.CalendarMonthFormatNameValue{9: "9", 4: "4", 3: "3", 8: "8", 12: "12", 1: "1", 6: "6", 7: "7", 10: "10", 2: "2", 5: "5", 11: "11"}, Short: ut.CalendarMonthFormatNameValue{}, Wide: ut.CalendarMonthFormatNameValue{8: "八月", 12: "十二月", 11: "十一月", 2: "二月", 3: "三月", 5: "五月", 10: "十月", 1: "一月", 4: "四月", 6: "六月", 7: "七月", 9: "九月"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{6: "周六", 0: "周日", 1: "周一", 2: "周二", 3: "周三", 4: "周四", 5: "周五"}, Narrow: ut.CalendarDayFormatNameValue{0: "日", 1: "一", 2: "二", 3: "三", 4: "四", 5: "五", 6: "六"}, Short: ut.CalendarDayFormatNameValue{5: "周五", 6: "周六", 0: "周日", 1: "周一", 2: "周二", 3: "周三", 4: "周四"}, Wide: ut.CalendarDayFormatNameValue{3: "星期三", 4: "星期四", 5: "星期五", 6: "星期六", 0: "星期日", 1: "星期一", 2: "星期二"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"night1": "凌晨", "pm": "下午", "midnight": "午夜", "morning1": "早上", "morning2": "上午", "afternoon1": "中午", "evening1": "晚上", "afternoon2": "下午", "am": "上午"}, Narrow: ut.CalendarPeriodFormatNameValue{"midnight": "午夜", "evening1": "晚上", "morning2": "上午", "afternoon2": "下午", "night1": "凌晨", "afternoon1": "中午", "pm": "下午", "morning1": "早上", "am": "上午"}, Short: ut.CalendarPeriodFormatNameValue{}, Wide: ut.CalendarPeriodFormatNameValue{"evening1": "晚上", "am": "上午", "morning1": "早上", "afternoon2": "下午", "morning2": "上午", "night1": "凌晨", "pm": "下午", "afternoon1": "中午", "midnight": "午夜"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}}}}