calendar.go 3.6 KB

12345
  1. package ta
  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: "a h:mm:ss zzzz", Long: "a h:mm:ss z", Medium: "a h:mm:ss", Short: "a 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{5: "மே", 8: "ஆக.", 11: "நவ.", 1: "ஜன.", 4: "ஏப்.", 6: "ஜூன்", 7: "ஜூலை", 9: "செப்.", 10: "அக்.", 12: "டிச.", 2: "பிப்.", 3: "மார்."}, Narrow: ut.CalendarMonthFormatNameValue{5: "மே", 6: "ஜூ", 8: "ஆ", 3: "மா", 4: "ஏ", 7: "ஜூ", 9: "செ", 10: "அ", 11: "ந", 12: "டி", 1: "ஜ", 2: "பி"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{9: "செப்டம்பர்", 10: "அக்டோபர்", 11: "நவம்பர்", 1: "ஜனவரி", 2: "பிப்ரவரி", 3: "மார்ச்", 5: "மே", 8: "ஆகஸ்டு", 4: "ஏப்ரல்", 6: "ஜூன்", 7: "ஜூலை", 12: "டிசம்பர்"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{3: "புத.", 4: "வியா.", 5: "வெள்.", 6: "சனி", 0: "ஞாயி.", 1: "திங்.", 2: "செவ்."}, Narrow: ut.CalendarDayFormatNameValue{6: "ச", 0: "ஞா", 1: "தி", 2: "செ", 3: "பு", 4: "வி", 5: "வெ"}, Short: ut.CalendarDayFormatNameValue{4: "வி", 5: "வெ", 6: "ச", 0: "ஞா", 1: "தி", 2: "செ", 3: "பு"}, Wide: ut.CalendarDayFormatNameValue{0: "ஞாயிறு", 1: "திங்கள்", 2: "செவ்வாய்", 3: "புதன்", 4: "வியாழன்", 5: "வெள்ளி", 6: "சனி"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"am": "முற்பகல்", "noon": "நண்பகல்", "morning1": "அதிகாலை", "afternoon2": "பிற்பகல்", "evening1": "மாலை", "night1": "இரவு", "midnight": "நள்ளிரவு", "pm": "பிற்பகல்", "morning2": "காலை", "afternoon1": "மதியம்", "evening2": "அந்தி மாலை"}, Narrow: ut.CalendarPeriodFormatNameValue{"evening2": "அந்தி மா.", "night1": "இ.", "midnight": "நள்.", "am": "மு.ப", "noon": "நண்.", "pm": "பி.ப", "morning2": "கா.", "evening1": "மா.", "morning1": "அதி.", "afternoon1": "மதி.", "afternoon2": "பிற்."}, Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"evening2": "அந்தி மாலை", "night1": "இரவு", "noon": "நண்பகல்", "pm": "பிற்பகல்", "afternoon1": "மதியம்", "afternoon2": "பிற்பகல்", "evening1": "மாலை", "midnight": "நள்ளிரவு", "am": "முற்பகல்", "morning1": "அதிகாலை", "morning2": "காலை"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "அன்னோ டோமினி", Abbrev: "கி.பி.", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "கிறிஸ்துவுக்கு முன்", Abbrev: "கி.மு.", Narrow: ""}}}}