resto-dhepot/public/assets/plugins/moment/locale/ml.js

92 lines
3.8 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

//! 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;
})));