calendar.go 3.3 KB

12345
  1. package lo
  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 G y", Long: "d MMMM y", Medium: "d MMM y", Short: "d/M/y"}, AD: ut.CalendarDateFormat{Full: "EEEE ທີ d MMMM G y", Long: "d MMMM y", Medium: "d MMM y", Short: "d/M/y"}}, Time: ut.CalendarDateFormat{Full: "H ໂມງ m ນາທີ ss ວິນາທີ zzzz", Long: "H ໂມງ m ນາທີ ss ວິນາທີ z", Medium: "H:mm:ss", Short: "H: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{1: "ມ.ກ.", 2: "ກ.ພ.", 3: "ມ.ນ.", 4: "ມ.ສ.", 5: "ພ.ພ.", 12: "ທ.ວ.", 6: "ມິ.ຖ.", 7: "ກ.ລ.", 8: "ສ.ຫ.", 9: "ກ.ຍ.", 10: "ຕ.ລ.", 11: "ພ.ຈ."}, Narrow: ut.CalendarMonthFormatNameValue{2: "2", 3: "3", 5: "5", 6: "6", 8: "8", 9: "9", 10: "10", 1: "1", 4: "4", 7: "7", 11: "11", 12: "12"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{8: "ສິງຫາ", 9: "ກັນຍາ", 10: "ຕຸລາ", 12: "ທັນວາ", 1: "ມັງກອນ", 3: "ມີນາ", 4: "ເມສາ", 5: "ພຶດສະພາ", 6: "ມິຖຸນາ", 7: "ກໍລະກົດ", 11: "ພະຈິກ", 2: "ກຸມພາ"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{6: "ເສົາ", 0: "ອາທິດ", 1: "ຈັນ", 2: "ອັງຄານ", 3: "ພຸດ", 4: "ພະຫັດ", 5: "ສຸກ"}, Narrow: ut.CalendarDayFormatNameValue{3: "ພ", 4: "ພຫ", 5: "ສຸ", 6: "ສ", 0: "ອ", 1: "ຈ", 2: "ອ"}, Short: ut.CalendarDayFormatNameValue{1: "ຈ.", 2: "ອ.", 3: "ພ.", 4: "ພຫ.", 5: "ສຸ.", 6: "ສ.", 0: "ອາ."}, Wide: ut.CalendarDayFormatNameValue{5: "ວັນສຸກ", 6: "ວັນເສົາ", 0: "ວັນອາທິດ", 1: "ວັນຈັນ", 2: "ວັນອັງຄານ", 3: "ວັນພຸດ", 4: "ວັນພະຫັດ"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"afternoon1": "ສວຍ", "evening1": "ແລງ", "night1": "\u200bກາງ\u200bຄືນ", "midnight": "ທ່ຽງ\u200bຄືນ", "am": "ກ່ອນທ່ຽງ", "noon": "ຕອນທ່ຽງ", "pm": "ຫຼັງທ່ຽງ", "morning1": "\u200bເຊົ້າ"}, Narrow: ut.CalendarPeriodFormatNameValue{"afternoon1": "ສວຍ", "evening1": "ແລງ", "night1": "\u200bກາງ\u200bຄືນ", "midnight": "ທ່ຽງ\u200bຄືນ", "am": "ກທ", "noon": "ຕອນທ່ຽງ", "pm": "ຫຼທ", "morning1": "\u200bເຊົ້າ"}, Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"noon": "ຕອນທ່ຽງ", "pm": "ຫຼັງທ່ຽງ", "morning1": "\u200bເຊົ້າ", "afternoon1": "ສວຍ", "evening1": "ແລງ", "night1": "\u200bກາງ\u200bຄືນ", "midnight": "ທ່ຽງ\u200bຄືນ", "am": "ກ່ອນທ່ຽງ"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "ຄຣິດສັກກະລາດ", Abbrev: "ຄ.ສ.", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "ກ່ອນຄຣິດສັກກະລາດ", Abbrev: "ກ່ອນ ຄ.ສ.", Narrow: ""}}}}