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