calendar.go 1.9 KB

12345
  1. package lrc
  2. import "github.com/go-playground/universal-translator"
  3. var calendar = ut.Calendar{Formats: ut.CalendarFormats{DateEra: ut.DateEra{BC: ut.CalendarDateFormat{Full: "y MMMM d, EEEE", Long: "y MMMM d", Medium: "y MMM d", Short: "y-MM-dd"}, AD: ut.CalendarDateFormat{Full: "y MMMM d, EEEE", Long: "y MMMM d", Medium: "y MMM d", Short: "y-MM-dd"}}, Time: ut.CalendarDateFormat{Full: "HH:mm:ss zzzz", Long: "HH:mm:ss z", Medium: "HH:mm:ss", Short: "HH: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{10: "ئوکتوڤر", 2: "فئڤریە", 6: "جوٙأن", 7: "جوٙلا", 8: "آگوست", 9: "سئپتامر", 12: "دئسامر", 1: "جانڤیە", 3: "مارس", 4: "آڤریل", 5: "مئی", 11: "نوڤامر"}, Narrow: ut.CalendarMonthFormatNameValue{3: "3", 5: "5", 6: "6", 8: "8", 11: "11", 12: "12", 1: "1", 2: "2", 9: "9", 10: "10", 4: "4", 7: "7"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{10: "ئوکتوڤر", 11: "نوڤامر", 12: "دئسامر", 1: "جانڤیە", 7: "جوٙلا", 9: "سئپتامر", 5: "مئی", 6: "جوٙأن", 8: "آگوست", 2: "فئڤریە", 3: "مارس", 4: "آڤریل"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue(nil), Narrow: ut.CalendarDayFormatNameValue(nil), Short: ut.CalendarDayFormatNameValue(nil), Wide: ut.CalendarDayFormatNameValue(nil)}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"am": "AM", "pm": "PM"}, Narrow: ut.CalendarPeriodFormatNameValue(nil), Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "AM", "pm": "PM"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "", Abbrev: "", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "", Abbrev: "BCE", Narrow: ""}}}}