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.
49 lines
1.8 KiB
49 lines
1.8 KiB
(function (global, factory) {
|
|
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('vue2-datepicker')) :
|
|
typeof define === 'function' && define.amd ? define(['vue2-datepicker'], factory) :
|
|
(global = global || self, (global.DatePicker = global.DatePicker || {}, global.DatePicker.lang = global.DatePicker.lang || {}, global.DatePicker.lang.ms = factory(global.DatePicker)));
|
|
}(this, (function (DatePicker) { 'use strict';
|
|
|
|
DatePicker = DatePicker && DatePicker.hasOwnProperty('default') ? DatePicker['default'] : DatePicker;
|
|
|
|
function unwrapExports (x) {
|
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
}
|
|
|
|
function createCommonjsModule(fn, module) {
|
|
return module = { exports: {} }, fn(module, module.exports), module.exports;
|
|
}
|
|
|
|
var ms = createCommonjsModule(function (module, exports) {
|
|
|
|
Object.defineProperty(exports, "__esModule", {
|
|
value: true
|
|
});
|
|
exports["default"] = void 0;
|
|
var locale = {
|
|
months: ['Januari', 'Februari', 'Mac', 'April', 'Mei', 'Jun', 'Julai', 'Ogos', 'September', 'Oktober', 'November', 'Disember'],
|
|
monthsShort: ['Jan', 'Feb', 'Mac', 'Apr', 'Mei', 'Jun', 'Jul', 'Ogs', 'Sep', 'Okt', 'Nov', 'Dis'],
|
|
weekdays: ['Ahad', 'Isnin', 'Selasa', 'Rabu', 'Khamis', 'Jumaat', 'Sabtu'],
|
|
weekdaysShort: ['Ahd', 'Isn', 'Sel', 'Rab', 'Kha', 'Jum', 'Sab'],
|
|
weekdaysMin: ['Ah', 'Is', 'Sl', 'Rb', 'Km', 'Jm', 'Sb'],
|
|
firstDayOfWeek: 1,
|
|
firstWeekContainsDate: 7
|
|
};
|
|
var _default = locale;
|
|
exports["default"] = _default;
|
|
module.exports = exports.default;
|
|
});
|
|
|
|
var ms$1 = unwrapExports(ms);
|
|
|
|
var lang = {
|
|
formatLocale: ms$1,
|
|
yearFormat: 'YYYY',
|
|
monthFormat: 'MMM',
|
|
monthBeforeYear: true
|
|
};
|
|
DatePicker.locale('ms', lang);
|
|
|
|
return lang;
|
|
|
|
})));
|
|
|