initial status
This commit is contained in:
15
node_modules/dayjs/esm/plugin/toObject/index.js
generated
vendored
Normal file
15
node_modules/dayjs/esm/plugin/toObject/index.js
generated
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
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
|
||||
};
|
||||
};
|
||||
});
|
Reference in New Issue
Block a user