1 //! moment.js locale configuration
2 //! locale : Marathi [mr]
3 //! author : Harshad Kale : https://github.com/kalehv
4 //! author : Vivek Athalye : https://github.com/vnathalye
6 ;(function (global, factory) {
7 typeof exports === 'object' && typeof module !== 'undefined'
8 && typeof require === 'function' ? factory(require('../moment')) :
9 typeof define === 'function' && define.amd ? define(['../moment'], factory) :
10 factory(global.moment)
11 }(this, (function (moment) { 'use strict';
39 function relativeTimeMr(number, withoutSuffix, string, isFuture)
44 case 's': output = 'काही सेकंद'; break;
45 case 'm': output = 'एक मिनिट'; break;
46 case 'mm': output = '%d मिनिटे'; break;
47 case 'h': output = 'एक तास'; break;
48 case 'hh': output = '%d तास'; break;
49 case 'd': output = 'एक दिवस'; break;
50 case 'dd': output = '%d दिवस'; break;
51 case 'M': output = 'एक महिना'; break;
52 case 'MM': output = '%d महिने'; break;
53 case 'y': output = 'एक वर्ष'; break;
54 case 'yy': output = '%d वर्षे'; break;
59 case 's': output = 'काही सेकंदां'; break;
60 case 'm': output = 'एका मिनिटा'; break;
61 case 'mm': output = '%d मिनिटां'; break;
62 case 'h': output = 'एका तासा'; break;
63 case 'hh': output = '%d तासां'; break;
64 case 'd': output = 'एका दिवसा'; break;
65 case 'dd': output = '%d दिवसां'; break;
66 case 'M': output = 'एका महिन्या'; break;
67 case 'MM': output = '%d महिन्यां'; break;
68 case 'y': output = 'एका वर्षा'; break;
69 case 'yy': output = '%d वर्षां'; break;
72 return output.replace(/%d/i, number);
75 var mr = moment.defineLocale('mr', {
76 months : 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split('_'),
77 monthsShort: 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split('_'),
78 monthsParseExact : true,
79 weekdays : 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
80 weekdaysShort : 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'),
81 weekdaysMin : 'र_सो_मं_बु_गु_शु_श'.split('_'),
84 LTS : 'A h:mm:ss वाजता',
87 LLL : 'D MMMM YYYY, A h:mm वाजता',
88 LLLL : 'dddd, D MMMM YYYY, A h:mm वाजता'
92 nextDay : '[उद्या] LT',
93 nextWeek : 'dddd, LT',
95 lastWeek: '[मागील] dddd, LT',
113 preparse: function (string) {
114 return string.replace(/[१२३४५६७८९०]/g, function (match) {
115 return numberMap[match];
118 postformat: function (string) {
119 return string.replace(/\d/g, function (match) {
120 return symbolMap[match];
123 meridiemParse: /रात्री|सकाळी|दुपारी|सायंकाळी/,
124 meridiemHour : function (hour, meridiem) {
128 if (meridiem === 'रात्री') {
129 return hour < 4 ? hour : hour + 12;
130 } else if (meridiem === 'सकाळी') {
132 } else if (meridiem === 'दुपारी') {
133 return hour >= 10 ? hour : hour + 12;
134 } else if (meridiem === 'सायंकाळी') {
138 meridiem: function (hour, minute, isLower) {
141 } else if (hour < 10) {
143 } else if (hour < 17) {
145 } else if (hour < 20) {
152 dow : 0, // Sunday is the first day of the week.
153 doy : 6 // The week that contains Jan 1st is the first week of the year.