/
usr
/
local
/
lib
/
node_modules
/
pm2
/
node_modules
/
dayjs
/
esm
/
plugin
/
weekday
/
/usr/local/lib/node_modules/pm2/node_modules/dayjs/esm/plugin/weekday
mkdir
upload
Name
Size
Mode
Actions
index.d.ts
202
0644
edit
dl
rm
index.js
366
0644
edit
dl
rm
Edit:
/usr/local/lib/node_modules/pm2/node_modules/dayjs/esm/plugin/weekday/index.js
(366B)
export default (function (o, c) { var proto = c.prototype; proto.weekday = function (input) { var weekStart = this.$locale().weekStart || 0; var $W = this.$W; var weekday = ($W < weekStart ? $W + 7 : $W) - weekStart; if (this.$utils().u(input)) { return weekday; } return this.subtract(weekday, 'day').add(input, 'day'); }; });
Save
cmd:
run