You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

70 lines
3.3 KiB

//! moment.js locale configuration
//! locale : malayalam (ml)
//! author : Floyd Pink : https://github.com/floydpink
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
typeof define === 'function' && define.amd ? define(['moment'], factory) :
factory(global.moment)
}(this, function (moment) { 'use strict';
var ml = moment.defineLocale('ml', {
months : 'ി_ി__ി________ി'.split('_'),
monthsShort : '._._._ി.___._._._._._ി.'.split('_'),
weekdays : '_ി____ി_ി'.split('_'),
weekdaysShort : '_ി____ി_ി'.split('_'),
weekdaysMin : '_ി_____'.split('_'),
longDateFormat : {
LT : 'A h:mm -',
LTS : 'A h:mm:ss -',
L : 'DD/MM/YYYY',
LL : 'D MMMM YYYY',
LLL : 'D MMMM YYYY, A h:mm -',
LLLL : 'dddd, D MMMM YYYY, A h:mm -'
},
calendar : {
sameDay : '[] LT',
nextDay : '[] LT',
nextWeek : 'dddd, LT',
lastDay : '[] LT',
lastWeek : '[ി] dddd, LT',
sameElse : 'L'
},
relativeTime : {
future : '%s ി',
past : '%s ',
s : ' ിി',
m : ' ിി',
mm : '%d ിി',
h : ' ി',
hh : '%d ി',
d : ' ി',
dd : '%d ി',
M : ' ',
MM : '%d ',
y : ' ',
yy : '%d '
},
meridiemParse: /ി|ി| ി||ി/i,
isPM : function (input) {
return /^( ി||ി)$/.test(input);
},
meridiem : function (hour, minute, isLower) {
if (hour < 4) {
return 'ി';
} else if (hour < 12) {
return 'ി';
} else if (hour < 17) {
return ' ി';
} else if (hour < 20) {
return '';
} else {
return 'ി';
}
}
});
return ml;
}));