12345 |
- package ps
- import "github.com/go-playground/universal-translator"
- var calendar = ut.Calendar{Formats: ut.CalendarFormats{DateEra: ut.DateEra{BC: ut.CalendarDateFormat{Full: "EEEE د y د MMMM d", Long: "د y د MMMM d", Medium: "d MMM y", Short: "y/M/d"}, AD: ut.CalendarDateFormat{Full: "EEEE د y د MMMM d", Long: "د y د MMMM d", Medium: "d MMM y", Short: "y/M/d"}}, Time: ut.CalendarDateFormat{Full: "H:mm:ss (zzzz)", Long: "H:mm:ss (z)", Medium: "H:mm:ss", Short: "H:mm"}, DateTime: ut.CalendarDateFormat{Full: "", Long: "", Medium: "", Short: ""}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue(nil), Narrow: ut.CalendarMonthFormatNameValue(nil), Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{3: "مارچ", 5: "می", 6: "جون", 8: "اګست", 9: "سپتمبر", 10: "اکتوبر", 11: "نومبر", 2: "فبروري", 12: "دسمبر", 4: "اپریل", 7: "جولای", 1: "جنوري"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue(nil), Narrow: ut.CalendarDayFormatNameValue(nil), Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue{1: "دوشنبه", 2: "سه\u200cشنبه", 3: "چهارشنبه", 4: "پنجشنبه", 5: "جمعه", 6: "شنبه", 0: "یکشنبه"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"am": "غ.م.", "pm": "غ.و."}, Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "غ.م.", "pm": "غ.و."}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "", Abbrev: "ق.م.", Narrow: ""}}}}
|