/
usr
/
local
/
lib
/
node_modules
/
pm2
/
node_modules
/
dayjs
/
esm
/
plugin
/
isoWeeksInYear
/
/usr/local/lib/node_modules/pm2/node_modules/dayjs/esm/plugin/isoWeeksInYear
mkdir
upload
Name
Size
Mode
Actions
index.d.ts
174
0644
edit
dl
rm
index.js
295
0644
edit
dl
rm
Edit:
/usr/local/lib/node_modules/pm2/node_modules/dayjs/esm/plugin/isoWeeksInYear/index.js
(295B)
export default (function (o, c) { var proto = c.prototype; proto.isoWeeksInYear = function () { var isLeapYear = this.isLeapYear(); var last = this.endOf('y'); var day = last.day(); if (day === 4 || isLeapYear && day === 5) { return 53; } return 52; }; });
Save
cmd:
run