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.
60 lines
2.3 KiB
60 lines
2.3 KiB
1 year ago
|
!(function (_, e) {
|
||
|
if ('object' == typeof exports && 'undefined' != typeof module) {
|
||
|
module.exports = e(require('dayjs'));
|
||
|
} else {
|
||
|
if ('function' == typeof define && define.amd) {
|
||
|
define(['dayjs'], e);
|
||
|
} else {
|
||
|
(_ = 'undefined' != typeof globalThis ? globalThis : _ || self).dayjs_locale_dv = e(_.dayjs);
|
||
|
}
|
||
|
}
|
||
|
})(this, function (_) {
|
||
|
'use strict';
|
||
|
|
||
|
function e(_) {
|
||
|
return _ && 'object' == typeof _ && 'default' in _
|
||
|
? _
|
||
|
: {
|
||
|
default: _
|
||
|
};
|
||
|
}
|
||
|
var t = e(_);
|
||
|
var d = {
|
||
|
name: 'dv',
|
||
|
weekdays: 'އާދިއްތަ_ހޯމަ_އަންގާރަ_ބުދަ_ބުރާސްފަތި_ހުކުރު_ހޮނިހިރު'.split('_'),
|
||
|
months: 'ޖެނުއަރީ_ފެބްރުއަރީ_މާރިޗު_އޭޕްރީލު_މޭ_ޖޫން_ޖުލައި_އޯގަސްޓު_ސެޕްޓެމްބަރު_އޮކްޓޯބަރު_ނޮވެމްބަރު_ޑިސެމްބަރު'.split('_'),
|
||
|
weekStart: 7,
|
||
|
weekdaysShort: 'އާދިއްތަ_ހޯމަ_އަންގާރަ_ބުދަ_ބުރާސްފަތި_ހުކުރު_ހޮނިހިރު'.split('_'),
|
||
|
monthsShort: 'ޖެނުއަރީ_ފެބްރުއަރީ_މާރިޗު_އޭޕްރީލު_މޭ_ޖޫން_ޖުލައި_އޯގަސްޓު_ސެޕްޓެމްބަރު_އޮކްޓޯބަރު_ނޮވެމްބަރު_ޑިސެމްބަރު'.split('_'),
|
||
|
weekdaysMin: 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'),
|
||
|
ordinal: function (_) {
|
||
|
return _;
|
||
|
},
|
||
|
formats: {
|
||
|
LT: 'HH:mm',
|
||
|
LTS: 'HH:mm:ss',
|
||
|
L: 'D/M/YYYY',
|
||
|
LL: 'D MMMM YYYY',
|
||
|
LLL: 'D MMMM YYYY HH:mm',
|
||
|
LLLL: 'dddd D MMMM YYYY HH:mm'
|
||
|
},
|
||
|
relativeTime: {
|
||
|
future: 'ތެރޭގައި %s',
|
||
|
past: 'ކުރިން %s',
|
||
|
s: 'ސިކުންތުކޮޅެއް',
|
||
|
m: 'މިނިޓެއް',
|
||
|
mm: 'މިނިޓު %d',
|
||
|
h: 'ގަޑިއިރެއް',
|
||
|
hh: 'ގަޑިއިރު %d',
|
||
|
d: 'ދުވަހެއް',
|
||
|
dd: 'ދުވަސް %d',
|
||
|
M: 'މަހެއް',
|
||
|
MM: 'މަސް %d',
|
||
|
y: 'އަހަރެއް',
|
||
|
yy: 'އަހަރު %d'
|
||
|
}
|
||
|
};
|
||
|
t.default.locale(d, null, true);
|
||
|
return d;
|
||
|
});
|