calendar.go 2.5 KB

12345
  1. package or
  2. import "github.com/go-playground/universal-translator"
  3. var calendar = ut.Calendar{Formats: ut.CalendarFormats{DateEra: ut.DateEra{BC: ut.CalendarDateFormat{Full: "EEEE, d MMMM y", Long: "d MMMM y", Medium: "d MMM y", Short: "d-M-yy"}, AD: ut.CalendarDateFormat{Full: "EEEE, d MMMM y", Long: "d MMMM y", Medium: "d MMM 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: "", Long: "", Medium: "", Short: ""}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{3: "ମାର୍ଚ୍ଚ", 5: "ମଇ", 6: "ଜୁନ", 7: "ଜୁଲାଇ", 9: "ସେପ୍ଟେମ୍ବର", 1: "ଜାନୁଆରୀ", 4: "ଅପ୍ରେଲ", 8: "ଅଗଷ୍ଟ", 10: "ଅକ୍ଟୋବର", 11: "ନଭେମ୍ବର", 12: "ଡିସେମ୍ବର", 2: "ଫେବୃଆରୀ"}, Narrow: ut.CalendarMonthFormatNameValue{8: "ଅ", 10: "ଅ", 11: "ନ", 6: "ଜୁ", 7: "ଜୁ", 9: "ସେ", 1: "ଜା", 2: "ଫେ", 3: "ମା", 4: "ଅ", 5: "ମଇ", 12: "ଡି"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{11: "ନଭେମ୍ବର", 1: "ଜାନୁଆରୀ", 4: "ଅପ୍ରେଲ", 6: "ଜୁନ", 9: "ସେପ୍ଟେମ୍ବର", 8: "ଅଗଷ୍ଟ", 10: "ଅକ୍ଟୋବର", 12: "ଡିସେମ୍ବର", 2: "ଫେବୃଆରୀ", 3: "ମାର୍ଚ୍ଚ", 5: "ମଇ", 7: "ଜୁଲାଇ"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{2: "ମଙ୍ଗଳ", 3: "ବୁଧ", 4: "ଗୁରୁ", 5: "ଶୁକ୍ର", 6: "ଶନି", 0: "ରବି", 1: "ସୋମ"}, Narrow: ut.CalendarDayFormatNameValue{4: "ଗୁ", 5: "ଶୁ", 6: "ଶ", 0: "ର", 1: "ସୋ", 2: "ମ", 3: "ବୁ"}, Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{0: "ରବିବାର", 1: "ସୋମବାର", 2: "ମଙ୍ଗଳବାର", 3: "ବୁଧବାର", 4: "ଗୁରୁବାର", 5: "ଶୁକ୍ରବାର", 6: "ଶନିବାର"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"pm": "pm", "am": "am"}, Narrow: ut.CalendarPeriodFormatNameValue{"am": "am", "pm": "pm"}, Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "am", "pm": "pm"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}}}}