12345 |
- package fo
- import "github.com/go-playground/universal-translator"
- 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: "dd.MM.yy"}, AD: ut.CalendarDateFormat{Full: "EEEE, d. MMMM y", Long: "d. MMMM y", Medium: "dd.MM.y", Short: "dd.MM.yy"}}, 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} 'kl'. {0}", Long: "{1} 'kl'. {0}", Medium: "{1}, {0}", Short: "{1}, {0}"}}, FormatNames: ut.CalendarFormatNames{Months: ut.CalendarMonthFormatNames{Abbreviated: ut.CalendarMonthFormatNameValue{5: "mai", 7: "jul", 8: "aug", 12: "des", 4: "apr", 2: "feb", 3: "mar", 6: "jun", 9: "sep", 10: "okt", 11: "nov", 1: "jan"}, Narrow: ut.CalendarMonthFormatNameValue{8: "A", 9: "S", 12: "D", 2: "F", 3: "M", 4: "A", 7: "J", 10: "O", 11: "N", 1: "J", 5: "M", 6: "J"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{11: "november", 12: "desember", 4: "apríl", 5: "mai", 6: "juni", 8: "august", 9: "september", 10: "oktober", 1: "januar", 2: "februar", 3: "mars", 7: "juli"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{0: "sun", 1: "mán", 2: "týs", 3: "mik", 4: "hós", 5: "frí", 6: "ley"}, Narrow: ut.CalendarDayFormatNameValue{1: "M", 2: "T", 3: "M", 4: "H", 5: "F", 6: "L", 0: "S"}, Short: ut.CalendarDayFormatNameValue{2: "tý", 3: "mi", 4: "hó", 5: "fr", 6: "le", 0: "su", 1: "má"}, Wide: ut.CalendarDayFormatNameValue{3: "mikudagur", 4: "hósdagur", 5: "fríggjadagur", 6: "leygardagur", 0: "sunnudagur", 1: "mánadagur", 2: "týsdagur"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"pm": "PM", "am": "AM"}, Narrow: ut.CalendarPeriodFormatNameValue{"am": "AM", "pm": "PM"}, Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"am": "AM", "pm": "PM"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "eftir Krist", Abbrev: "e.Kr.", Narrow: "eKr"}, BC: ut.CalendarEraFormatNames{Full: "fyri Krist", Abbrev: "f.Kr.", Narrow: "fKr"}}}}
|