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.

57 lines
2.6 KiB

3 weeks ago
//! moment.js locale configuration
//! locale : khmer (km)
//! author : Kruy Vanna : https://github.com/kruyvanna
(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 km = moment.defineLocale('km', {
months: '___________'.split('_'),
monthsShort: '___________'.split('_'),
weekdays: '______'.split('_'),
weekdaysShort: '______'.split('_'),
weekdaysMin: '______'.split('_'),
longDateFormat: {
LT: 'HH:mm',
LTS : 'HH:mm:ss',
L: 'DD/MM/YYYY',
LL: 'D MMMM YYYY',
LLL: 'D MMMM YYYY HH:mm',
LLLL: 'dddd, D MMMM YYYY HH:mm'
},
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 '
},
week: {
dow: 1, // Monday is the first day of the week.
doy: 4 // The week that contains Jan 4th is the first week of the year.
}
});
return km;
}));