calendar.go 3.4 KB

12345
  1. package mr
  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{1: "जाने", 2: "फेब्रु", 3: "मार्च", 4: "एप्रि", 6: "जून", 7: "जुलै", 11: "नोव्हें", 5: "मे", 8: "ऑग", 9: "सप्टें", 10: "ऑक्टो", 12: "डिसें"}, Narrow: ut.CalendarMonthFormatNameValue{4: "ए", 5: "मे", 8: "ऑ", 9: "स", 12: "डि", 1: "जा", 3: "मा", 6: "जू", 7: "जु", 10: "ऑ", 11: "नो", 2: "फे"}, Short: ut.CalendarMonthFormatNameValue(nil), Wide: ut.CalendarMonthFormatNameValue{7: "जुलै", 8: "ऑगस्ट", 9: "सप्टेंबर", 10: "ऑक्टोबर", 11: "नोव्हेंबर", 3: "मार्च", 4: "एप्रिल", 5: "मे", 6: "जून", 12: "डिसेंबर", 1: "जानेवारी", 2: "फेब्रुवारी"}}, Days: ut.CalendarDayFormatNames{Abbreviated: ut.CalendarDayFormatNameValue{0: "रवि", 1: "सोम", 2: "मंगळ", 3: "बुध", 4: "गुरु", 5: "शुक्र", 6: "शनि"}, Narrow: ut.CalendarDayFormatNameValue{0: "र", 1: "सो", 2: "मं", 3: "बु", 4: "गु", 5: "शु", 6: "श"}, Short: ut.CalendarDayFormatNameValue{0: "र", 1: "सो", 2: "मं", 3: "बु", 4: "गु", 5: "शु", 6: "श"}, Wide: ut.CalendarDayFormatNameValue{0: "रविवार", 1: "सोमवार", 2: "मंगळवार", 3: "बुधवार", 4: "गुरुवार", 5: "शुक्रवार", 6: "शनिवार"}}, Periods: ut.CalendarPeriodFormatNames{Abbreviated: ut.CalendarPeriodFormatNameValue{"noon": "मध्यान्ह", "pm": "म.उ.", "morning1": "पहाट", "evening2": "सायंकाळ", "night1": "रात्र", "midnight": "मध्यरात्र", "am": "म.पू.", "morning2": "सकाळ", "afternoon1": "दुपार", "evening1": "संध्याकाळ"}, Narrow: ut.CalendarPeriodFormatNameValue{"pm": "म.उ.", "morning2": "स", "afternoon1": "दु", "evening1": "सं", "midnight": "म.रा.", "noon": "म", "morning1": "प", "evening2": "सा", "night1": "रा", "am": "म.पू."}, Short: ut.CalendarPeriodFormatNameValue(nil), Wide: ut.CalendarPeriodFormatNameValue{"evening1": "संध्याकाळ", "midnight": "मध्यरात्र", "am": "म.पू.", "noon": "मध्यान्ह", "pm": "म.उ.", "afternoon1": "दुपार", "morning1": "पहाट", "morning2": "सकाळ", "evening2": "सायंकाळ", "night1": "रात्र"}}, Eras: ut.Eras{AD: ut.CalendarEraFormatNames{Full: "ईसवीसन", Abbrev: "इ. स.", Narrow: ""}, BC: ut.CalendarEraFormatNames{Full: "ईसवीसनपूर्व", Abbrev: "इ. स. पू.", Narrow: ""}}}}