initial
This commit is contained in:
80
node_modules/moment/locale/ml.js
generated
vendored
Normal file
80
node_modules/moment/locale/ml.js
generated
vendored
Normal file
@ -0,0 +1,80 @@
|
||||
//! moment.js locale configuration
|
||||
|
||||
;(function (global, factory) {
|
||||
typeof exports === 'object' && typeof module !== 'undefined'
|
||||
&& typeof require === 'function' ? 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('_'),
|
||||
monthsParseExact : true,
|
||||
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 : 'അൽപ നിമിഷങ്ങൾ',
|
||||
ss : '%d സെക്കൻഡ്',
|
||||
m : 'ഒരു മിനിറ്റ്',
|
||||
mm : '%d മിനിറ്റ്',
|
||||
h : 'ഒരു മണിക്കൂർ',
|
||||
hh : '%d മണിക്കൂർ',
|
||||
d : 'ഒരു ദിവസം',
|
||||
dd : '%d ദിവസം',
|
||||
M : 'ഒരു മാസം',
|
||||
MM : '%d മാസം',
|
||||
y : 'ഒരു വർഷം',
|
||||
yy : '%d വർഷം'
|
||||
},
|
||||
meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,
|
||||
meridiemHour : function (hour, meridiem) {
|
||||
if (hour === 12) {
|
||||
hour = 0;
|
||||
}
|
||||
if ((meridiem === 'രാത്രി' && hour >= 4) ||
|
||||
meridiem === 'ഉച്ച കഴിഞ്ഞ്' ||
|
||||
meridiem === 'വൈകുന്നേരം') {
|
||||
return hour + 12;
|
||||
} else {
|
||||
return hour;
|
||||
}
|
||||
},
|
||||
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;
|
||||
|
||||
})));
|
Reference in New Issue
Block a user