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.
 
 
 
 

58 lines
2.7 KiB

//! moment.js locale configuration
//! locale : khmer (km)
//! author : Kruy Vanna : https://github.com/kruyvanna
;(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';
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;
}));