calendar.go 2.7 KB

12345
  1. package zh_Hans_HK
  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月", 12: "12月", 3: "3月", 7: "7月", 2: "2月", 1: "1月", 10: "10月", 11: "11月", 5: "5月", 4: "4月", 8: "8月", 9: "9月"}, Narrow: ut.CalendarMonthFormatNameValue{11: "11", 12: "12", 1: "1", 10: "10", 9: "9", 2: "2", 4: "4", 5: "5", 8: "8", 3: "3", 6: "6", 7: "7"}, Short: ut.CalendarMonthFormatNameValue{}, Wide: ut.CalendarMonthFormatNameValue{10: "十月", 3: "三月", 7: "七月", 12: "十二月", 1: "一月", 4: "四月", 5: "五月", 8: "八月", 11: "十一月", 2: "二月", 6: "六月", 9: "九月"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{5: "周五", 6: "周六", 0: "周日", 1: "周一", 2: "周二", 3: "周三", 4: "周四"}, Narrow: ut.CalendarDayFormatNameValue{1: "一", 2: "二", 3: "三", 4: "四", 5: "五", 6: "六", 0: "日"}, Short: ut.CalendarDayFormatNameValue{1: "周一", 2: "周二", 3: "周三", 4: "周四", 5: "周五", 6: "周六", 0: "周日"}, Wide: ut.CalendarDayFormatNameValue{0: "星期日", 1: "星期一", 2: "星期二", 3: "星期三", 4: "星期四", 5: "星期五", 6: "星期六"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"pm": "下午", "night1": "凌晨", "evening1": "晚上", "midnight": "午夜", "am": "上午", "morning1": "早上", "morning2": "上午", "afternoon2": "下午", "afternoon1": "中午"}, Narrow: ut.CalendarPeriodFormatNameValue{"midnight": "午夜", "am": "上午", "afternoon2": "下午", "night1": "凌晨", "morning2": "上午", "pm": "下午", "morning1": "早上", "afternoon1": "中午", "evening1": "晚上"}, Short: ut.CalendarPeriodFormatNameValue{}, Wide: ut.CalendarPeriodFormatNameValue{"pm": "下午", "morning1": "早上", "afternoon1": "中午", "am": "上午", "morning2": "上午", "afternoon2": "下午", "night1": "凌晨", "midnight": "午夜", "evening1": "晚上"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}}}}