Chamilo is a learning management system focused on ease of use and accessibility
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.
 
 
 
 
 
 
chamilo-lms/app/Resources/public/assets/moment/locale/km.js

56 lines
2.7 KiB

// moment.js locale configuration
// locale : khmer (km)
// author : Kruy Vanna : https://github.com/kruyvanna
(function (factory) {
if (typeof define === 'function' && define.amd) {
define(['moment'], factory); // AMD
} else if (typeof exports === 'object') {
module.exports = factory(require('../moment')); // Node
} else {
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
}
}(function (moment) {
return moment.defineLocale('km', {
months: 'មករ_ក_ម_ម_ឧសភ_ម_កកកដ_ស_កញ_ត_វ_ធ'.split('_'),
monthsShort: 'មករ_ក_ម_ម_ឧសភ_ម_កកកដ_ស_កញ_ត_វ_ធ'.split('_'),
weekdays: 'អយ_ចទ_អងរ_ពធ_ពរហសបត_សរ_ស'.split('_'),
weekdaysShort: 'អយ_ចទ_អងរ_ពធ_ពរហសបត_សរ_ស'.split('_'),
weekdaysMin: 'អយ_ចទ_អងរ_ពធ_ពរហសបត_សរ_ស'.split('_'),
longDateFormat: {
LT: 'HH:mm',
LTS : 'LT:ss',
L: 'DD/MM/YYYY',
LL: 'D MMMM YYYY',
LLL: 'D MMMM YYYY LT',
LLLL: 'dddd, D MMMM YYYY LT'
},
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.
}
});
}));