cultivationApp/node_modules/dayjs/esm/plugin/toObject/index.js

15 lines
288 B
JavaScript
Raw Normal View History

2023-10-17 16:02:55 +08:00
export default (function (o, c) {
var proto = c.prototype;
proto.toObject = function () {
return {
years: this.$y,
months: this.$M,
date: this.$D,
hours: this.$H,
minutes: this.$m,
seconds: this.$s,
milliseconds: this.$ms
};
};
});