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

80 lines
3.2 KiB
Java
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. 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 : Sinhalese [si]
//! author : Sampath Sitinamaluwa : https://github.com/sampathsris
;(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
/*jshint -W100*/
var si = moment.defineLocale('si', {
months: 'ජනවරි_පබරවරි_මර්තු_අප්ල්_මයි_ජූනි_ජූලි_අගස්තු_සප්තම්බර්_ඔක්තබර්_නම්බර්_දම්බර්'.split(
'_'
),
monthsShort: 'ජන_පබ_මර්_අප්_මයි_ජූනි_ජූලි_අග_සප්_ඔක්_න_ද'.split(
'_'
),
weekdays: 'ඉරිද_සඳුද_අඟහරුව_බද_බ්රහස්පතින්ද_සිකුර_සනසුර'.split(
'_'
),
weekdaysShort: 'ඉරි_සඳු_අඟ_බද_බ්රහ_සිකු_ස'.split('_'),
weekdaysMin: 'ඉ_ස_අ_බ_බ්ර_සි_ස'.split('_'),
weekdaysParseExact: true,
longDateFormat: {
LT: 'a h:mm',
LTS: 'a h:mm:ss',
L: 'YYYY/MM/DD',
LL: 'YYYY MMMM D',
LLL: 'YYYY MMMM D, a h:mm',
LLLL: 'YYYY MMMM D [නි] dddd, a h:mm:ss',
},
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',
},
dayOfMonthOrdinalParse: /\d{1,2} නි/,
ordinal: function (number) {
return number + ' නි';
},
meridiemParse: / වරු|පස් වරු|.|../,
isPM: function (input) {
return input === '..' || input === 'පස් වරු';
},
meridiem: function (hours, minutes, isLower) {
if (hours > 11) {
return isLower ? '..' : 'පස් වරු';
} else {
return isLower ? '..' : ' වරු';
}
},
});
return si;
})));