NuclearDispersionSystem/ant-design-vue-jeecg/node_modules/moment/locale/ml.js
2023-09-14 14:47:11 +08:00

92 lines
3.8 KiB
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//! moment.js locale configuration
//! locale : Malayalam [ml]
//! author : Floyd Pink : https://github.com/floydpink
;(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';
//! moment.js locale configuration
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;
})));