2016-02-05 15:42:48 -05:00
|
|
|
//! moment.js locale configuration
|
2020-11-10 20:34:26 -05:00
|
|
|
//! locale : Lao [lo]
|
|
|
|
//! author : Ryan Hart : https://github.com/ryanhart2
|
2016-02-05 15:42:48 -05:00
|
|
|
|
|
|
|
;(function (global, factory) {
|
|
|
|
typeof exports === 'object' && typeof module !== 'undefined'
|
|
|
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
2017-04-20 00:24:20 -04:00
|
|
|
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
2016-02-05 15:42:48 -05:00
|
|
|
factory(global.moment)
|
2017-04-20 00:24:20 -04:00
|
|
|
}(this, (function (moment) { 'use strict';
|
2016-02-05 15:42:48 -05:00
|
|
|
|
2020-11-10 20:34:26 -05:00
|
|
|
//! moment.js locale configuration
|
2016-02-05 15:42:48 -05:00
|
|
|
|
2018-04-26 03:15:53 -04:00
|
|
|
var lo = moment.defineLocale('lo', {
|
2020-11-10 20:34:26 -05:00
|
|
|
months: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split(
|
|
|
|
'_'
|
|
|
|
),
|
|
|
|
monthsShort: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split(
|
|
|
|
'_'
|
|
|
|
),
|
|
|
|
weekdays: 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),
|
|
|
|
weekdaysShort: 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),
|
|
|
|
weekdaysMin: 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'),
|
|
|
|
weekdaysParseExact: true,
|
|
|
|
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',
|
2018-04-26 03:15:53 -04:00
|
|
|
},
|
|
|
|
meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/,
|
|
|
|
isPM: function (input) {
|
|
|
|
return input === 'ຕອນແລງ';
|
|
|
|
},
|
2020-11-10 20:34:26 -05:00
|
|
|
meridiem: function (hour, minute, isLower) {
|
2018-04-26 03:15:53 -04:00
|
|
|
if (hour < 12) {
|
|
|
|
return 'ຕອນເຊົ້າ';
|
|
|
|
} else {
|
|
|
|
return 'ຕອນແລງ';
|
|
|
|
}
|
|
|
|
},
|
2020-11-10 20:34:26 -05:00
|
|
|
calendar: {
|
|
|
|
sameDay: '[ມື້ນີ້ເວລາ] LT',
|
|
|
|
nextDay: '[ມື້ອື່ນເວລາ] LT',
|
|
|
|
nextWeek: '[ວັນ]dddd[ໜ້າເວລາ] LT',
|
|
|
|
lastDay: '[ມື້ວານນີ້ເວລາ] LT',
|
|
|
|
lastWeek: '[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT',
|
|
|
|
sameElse: 'L',
|
2018-04-26 03:15:53 -04:00
|
|
|
},
|
2020-11-10 20:34:26 -05:00
|
|
|
relativeTime: {
|
|
|
|
future: 'ອີກ %s',
|
|
|
|
past: '%sຜ່ານມາ',
|
|
|
|
s: 'ບໍ່ເທົ່າໃດວິນາທີ',
|
|
|
|
ss: '%d ວິນາທີ',
|
|
|
|
m: '1 ນາທີ',
|
|
|
|
mm: '%d ນາທີ',
|
|
|
|
h: '1 ຊົ່ວໂມງ',
|
|
|
|
hh: '%d ຊົ່ວໂມງ',
|
|
|
|
d: '1 ມື້',
|
|
|
|
dd: '%d ມື້',
|
|
|
|
M: '1 ເດືອນ',
|
|
|
|
MM: '%d ເດືອນ',
|
|
|
|
y: '1 ປີ',
|
|
|
|
yy: '%d ປີ',
|
2018-04-26 03:15:53 -04:00
|
|
|
},
|
|
|
|
dayOfMonthOrdinalParse: /(ທີ່)\d{1,2}/,
|
2020-11-10 20:34:26 -05:00
|
|
|
ordinal: function (number) {
|
2018-04-26 03:15:53 -04:00
|
|
|
return 'ທີ່' + number;
|
2020-11-10 20:34:26 -05:00
|
|
|
},
|
2018-04-26 03:15:53 -04:00
|
|
|
});
|
2016-02-05 15:42:48 -05:00
|
|
|
|
2018-04-26 03:15:53 -04:00
|
|
|
return lo;
|
2016-02-05 15:42:48 -05:00
|
|
|
|
2017-04-20 00:24:20 -04:00
|
|
|
})));
|