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.

67 lines
2.5 KiB

//! moment.js locale configuration
//! locale : Lao [lo]
//! author : Ryan Hart : https://github.com/ryanhart2
import moment from '../moment';
export default moment.defineLocale('lo', {
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',
},
meridiemParse: /ຕອນເຊາ|ຕອນແລງ/,
isPM: function (input) {
return input === 'ຕອນແລງ';
},
meridiem: function (hour, minute, isLower) {
if (hour < 12) {
return 'ຕອນເຊາ';
} else {
return 'ຕອນແລງ';
}
},
calendar: {
sameDay: '[ມເວລາ] LT',
nextDay: '[ມນເວລາ] LT',
nextWeek: '[ວນ]dddd[ໜາເວລາ] LT',
lastDay: '[ມວານນເວລາ] LT',
lastWeek: '[ວນ]dddd[ແລວນເວລາ] LT',
sameElse: 'L',
},
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 ປ',
},
dayOfMonthOrdinalParse: /(ທ)\d{1,2}/,
ordinal: function (number) {
return 'ທ' + number;
},
});