calendar.go 3.1 KB

12345
  1. package pa
  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: "{1} {0}", Long: "{1} {0}", Medium: "{1}, {0}", Short: "{1}, {0}"}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{2: "ਫ਼ਰ", 4: "ਅਪ੍ਰੈ", 5: "ਮਈ", 6: "ਜੂਨ", 7: "ਜੁਲਾ", 8: "ਅਗ", 11: "ਨਵੰ", 12: "ਦਸੰ", 1: "ਜਨ", 3: "ਮਾਰਚ", 9: "ਸਤੰ", 10: "ਅਕਤੂ"}, Narrow: ut.CalendarMonthFormatNameValue{10: "ਅ", 11: "ਨ", 1: "ਜ", 2: "ਫ਼", 3: "ਮਾ", 4: "ਅ", 6: "ਜੂ", 9: "ਸ", 5: "ਮ", 7: "ਜੁ", 8: "ਅ", 12: "ਦ"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{5: "ਮਈ", 6: "ਜੂਨ", 7: "ਜੁਲਾਈ", 8: "ਅਗਸਤ", 9: "ਸਤੰਬਰ", 11: "ਨਵੰਬਰ", 2: "ਫ਼ਰਵਰੀ", 3: "ਮਾਰਚ", 10: "ਅਕਤੂਬਰ", 12: "ਦਸੰਬਰ", 1: "ਜਨਵਰੀ", 4: "ਅਪ੍ਰੈਲ"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{5: "ਸ਼ੁੱਕਰ", 6: "ਸ਼ਨਿੱਚਰ", 0: "ਐਤ", 1: "ਸੋਮ", 2: "ਮੰਗਲ", 3: "ਬੁੱਧ", 4: "ਵੀਰ"}, Narrow: ut.CalendarDayFormatNameValue{5: "ਸ਼ੁੱ", 6: "ਸ਼", 0: "ਐ", 1: "ਸੋ", 2: "ਮੰ", 3: "ਬੁੱ", 4: "ਵੀ"}, Short: ut.CalendarDayFormatNameValue{2: "ਮੰਗ", 3: "ਬੁੱਧ", 4: "ਵੀਰ", 5: "ਸ਼ੁੱਕ", 6: "ਸ਼ਨਿੱ", 0: "ਐਤ", 1: "ਸੋਮ"}, Wide: ut.CalendarDayFormatNameValue{3: "ਬੁੱਧਵਾਰ", 4: "ਵੀਰਵਾਰ", 5: "ਸ਼ੁੱਕਰਵਾਰ", 6: "ਸ਼ਨਿੱਚਰਵਾਰ", 0: "ਐਤਵਾਰ", 1: "ਸੋਮਵਾਰ", 2: "ਮੰਗਲਵਾਰ"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"night1": "ਰਾਤ", "midnight": "ਅੱਧੀ ਰਾਤ", "am": "ਪੂ.ਦੁ.", "pm": "ਬਾ.ਦੁ.", "morning1": "ਸਵੇਰ", "afternoon1": "ਦੁਪਹਿਰ", "evening1": "ਸ਼ਾਮ"}, Narrow: ut.CalendarPeriodFormatNameValue{"afternoon1": "ਦੁਪਹਿਰ", "evening1": "ਸ਼ਾਮ", "night1": "ਰਾਤ", "midnight": "ਅੱਧੀ ਰਾਤ", "am": "ਪੂ.ਦੁ.", "pm": "ਬਾ.ਦੁ.", "morning1": "ਸਵੇਰ"}, Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"midnight": "ਅੱਧੀ ਰਾਤ", "am": "ਪੂ.ਦੁ.", "pm": "ਬਾ.ਦੁ.", "morning1": "ਸਵੇਰ", "afternoon1": "ਦੁਪਹਿਰ", "evening1": "ਸ਼ਾਮ", "night1": "ਰਾਤ"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "ਈਸਵੀ ਸੰਨ", Abbrev: "ਸੰਨ", Narrow: "ਸੰਨ"}, BC: ut.CalendarEraFormatNames{Full: "ਈਸਵੀ ਪੂਰਵ", Abbrev: "ਈ. ਪੂ.", Narrow: "ਈ. ਪੂ."}}}}