对接烟台app的h5页面
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.
 
 
 
 
 

47 lines
1.5 KiB

!(function (e, t) {
if ('object' == typeof exports && 'undefined' != typeof module) {
module.exports = t();
} else {
if ('function' == typeof define && define.amd) {
define(t);
} else {
(e = 'undefined' != typeof globalThis ? globalThis : e || self).dayjs_plugin_localizedFormat = t();
}
}
})(this, function () {
'use strict';
var e = {
LTS: 'h:mm:ss A',
LT: 'h:mm A',
L: 'MM/DD/YYYY',
LL: 'MMMM D, YYYY',
LLL: 'MMMM D, YYYY h:mm A',
LLLL: 'dddd, MMMM D, YYYY h:mm A'
};
return function (t, o, n) {
var r = o.prototype;
var i = r.format;
n.en.formats = e;
r.format = function (t) {
if (void 0 === t) {
t = 'YYYY-MM-DDTHH:mm:ssZ';
}
var o = this.$locale().formats;
var n = (function (t, o) {
return t.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function (t, n, r) {
var i = r && r.toUpperCase();
return (
n ||
o[r] ||
e[r] ||
o[i].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function (e, t, o) {
return t || o.slice(1);
})
);
});
})(t, void 0 === o ? {} : o);
return i.call(this, n);
};
};
});