You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

64 lines
2.8 KiB

3 weeks ago
//! moment.js locale configuration
//! locale : Sinhalese (si)
//! author : Sampath Sitinamaluwa : https://github.com/sampathsris
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) :
typeof define === 'function' && define.amd ? define(['moment'], factory) :
factory(global.moment)
}(this, function (moment) { 'use strict';
var si = moment.defineLocale('si', {
months : '___________'.split('_'),
monthsShort : '___________'.split('_'),
weekdays : '______'.split('_'),
weekdaysShort : '______'.split('_'),
weekdaysMin : '______'.split('_'),
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 : ' ',
m : '',
mm : ' %d',
h : '',
hh : ' %d',
d : '',
dd : ' %d',
M : '',
MM : ' %d',
y : '',
yy : ' %d'
},
ordinalParse: /\d{1,2} /,
ordinal : function (number) {
return number + ' ';
},
meridiem : function (hours, minutes, isLower) {
if (hours > 11) {
return isLower ? '..' : ' ';
} else {
return isLower ? '..' : ' ';
}
}
});
return si;
}));