calendar.go 2.3 KB

12345
  1. package as
  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: "dd-MM-y", Short: "d-M-y"}, AD: ut.CalendarDateFormat{Full: "EEEE, d MMMM, y", Long: "d MMMM, y", Medium: "dd-MM-y", Short: "d-M-y"}}, 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{9: "সেপ্ট", 10: "অক্টো", 1: "জানু", 4: "এপ্ৰিল", 5: "মে", 6: "জুন", 11: "নভে", 12: "ডিসে", 2: "ফেব্ৰু", 3: "মাৰ্চ", 7: "জুলাই", 8: "আগ"}, Narrow: ut.CalendarMonthFormatNameValue(nil), Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{4: "এপ্ৰিল", 7: "জুলাই", 10: "অক্টোবৰ", 11: "নৱেম্বৰ", 3: "মাৰ্চ", 2: "ফেব্ৰুৱাৰী", 5: "মে", 6: "জুন", 8: "আগষ্ট", 9: "ছেপ্তেম্বৰ", 12: "ডিচেম্বৰ", 1: "জানুৱাৰী"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{4: "বৃহষ্পতি", 5: "শুক্ৰ", 6: "শনি", 0: "ৰবি", 1: "সোম", 2: "মঙ্গল", 3: "বুধ"}, Narrow: ut.CalendarDayFormatNameValue(nil), Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{0: "দেওবাৰ", 1: "সোমবাৰ", 2: "মঙ্গলবাৰ", 3: "বুধবাৰ", 4: "বৃহষ্পতিবাৰ", 5: "শুক্ৰবাৰ", 6: "শনিবাৰ"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"am": "পূৰ্বাহ্ণ", "pm": "অপৰাহ্ণ"}, Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"pm": "অপৰাহ্ণ", "am": "পূৰ্বাহ্ণ"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}}}}