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.
20 lines
669 B
20 lines
669 B
!(function (e, o) {
|
|
if ('object' == typeof exports && 'undefined' != typeof module) {
|
|
module.exports = o();
|
|
} else {
|
|
if ('function' == typeof define && define.amd) {
|
|
define(o);
|
|
} else {
|
|
(e = 'undefined' != typeof globalThis ? globalThis : e || self).dayjs_plugin_pluralGetSet = o();
|
|
}
|
|
}
|
|
})(this, function () {
|
|
'use strict';
|
|
|
|
return function (e, o) {
|
|
var s = o.prototype;
|
|
['milliseconds', 'seconds', 'minutes', 'hours', 'days', 'weeks', 'isoWeeks', 'months', 'quarters', 'years', 'dates'].forEach(function (e) {
|
|
s[e] = s[e.replace(/s$/, '')];
|
|
});
|
|
};
|
|
});
|
|
|