Files
SnowLuma/.pnpm-store/v11/files/57/67968be3436f7db92269571b7f48fcda9b3a202e2ead0218b3242cd07f5dd605ae786d74ee56f43d46b064cc858267287274ac9ed2879c962f2e2284736e95
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

9 lines
309 B
Plaintext

"use strict";
const isLeapYear = require("./isLeapYear-CZo5eAQg.js");
const arr = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
const arr2 = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
function daysOfYear(year) {
return isLeapYear.isLeapYear(year) ? arr2 : arr;
}
exports.daysOfYear = daysOfYear;