zhizhi/backend/coldstart/node_modules/moment/locale/si.js

81 lines
3.2 KiB
JavaScript
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;
})));