1 //! moment.js locale configuration
2 //! locale : Cambodian [km]
3 //! author : Kruy Vanna : https://github.com/kruyvanna
5 ;(function (global, factory) {
6 typeof exports === 'object' && typeof module !== 'undefined'
7 && typeof require === 'function' ? factory(require('../moment')) :
8 typeof define === 'function' && define.amd ? define(['../moment'], factory) :
10 }(this, (function (moment) { 'use strict';
12 //! moment.js locale configuration
39 var km = moment.defineLocale('km', {
40 months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split(
43 monthsShort: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split(
46 weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
47 weekdaysShort: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),
48 weekdaysMin: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),
49 weekdaysParseExact: true,
55 LLL: 'D MMMM YYYY HH:mm',
56 LLLL: 'dddd, D MMMM YYYY HH:mm',
58 meridiemParse: /ព្រឹក|ល្ងាច/,
59 isPM: function (input) {
60 return input === 'ល្ងាច';
62 meridiem: function (hour, minute, isLower) {
70 sameDay: '[ថ្ងៃនេះ ម៉ោង] LT',
71 nextDay: '[ស្អែក ម៉ោង] LT',
72 nextWeek: 'dddd [ម៉ោង] LT',
73 lastDay: '[ម្សិលមិញ ម៉ោង] LT',
74 lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT',
93 dayOfMonthOrdinalParse: /ទី\d{1,2}/,
95 preparse: function (string) {
96 return string.replace(/[១២៣៤៥៦៧៨៩០]/g, function (match) {
97 return numberMap[match];
100 postformat: function (string) {
101 return string.replace(/\d/g, function (match) {
102 return symbolMap[match];
106 dow: 1, // Monday is the first day of the week.
107 doy: 4, // The week that contains Jan 4th is the first week of the year.