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
1.7 KiB
58 lines
1.7 KiB
!(function (e, n) {
|
|
if ('object' == typeof exports && 'undefined' != typeof module) {
|
|
module.exports = n(require('dayjs'));
|
|
} else {
|
|
if ('function' == typeof define && define.amd) {
|
|
define(['dayjs'], n);
|
|
} else {
|
|
(e = 'undefined' != typeof globalThis ? globalThis : e || self).dayjs_locale_ht = n(e.dayjs);
|
|
}
|
|
}
|
|
})(this, function (e) {
|
|
'use strict';
|
|
|
|
function n(e) {
|
|
return e && 'object' == typeof e && 'default' in e
|
|
? e
|
|
: {
|
|
default: e
|
|
};
|
|
}
|
|
var d = n(e);
|
|
var a = {
|
|
name: 'ht',
|
|
weekdays: 'dimanch_lendi_madi_mèkredi_jedi_vandredi_samdi'.split('_'),
|
|
months: 'janvye_fevriye_mas_avril_me_jen_jiyè_out_septanm_oktòb_novanm_desanm'.split('_'),
|
|
weekdaysShort: 'dim._len._mad._mèk._jed._van._sam.'.split('_'),
|
|
monthsShort: 'jan._fev._mas_avr._me_jen_jiyè._out_sept._okt._nov._des.'.split('_'),
|
|
weekdaysMin: 'di_le_ma_mè_je_va_sa'.split('_'),
|
|
ordinal: function (e) {
|
|
return e;
|
|
},
|
|
formats: {
|
|
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'
|
|
},
|
|
relativeTime: {
|
|
future: 'nan %s',
|
|
past: 'sa gen %s',
|
|
s: 'kèk segond',
|
|
m: 'yon minit',
|
|
mm: '%d minit',
|
|
h: 'inèdtan',
|
|
hh: '%d zè',
|
|
d: 'yon jou',
|
|
dd: '%d jou',
|
|
M: 'yon mwa',
|
|
MM: '%d mwa',
|
|
y: 'yon ane',
|
|
yy: '%d ane'
|
|
}
|
|
};
|
|
d.default.locale(a, null, true);
|
|
return a;
|
|
});
|
|
|