Files
NapCatQQ/.pnpm-store/v3/files/fc/855ec3346b7077d43c4d0813382dc3bd59be2cdfe62f4b04cf701739ad806992c42a012230a48c54f7a6f19f4417c70cce341b2d64bcc7159afc1c6d577f6c
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

12 lines
354 B
Plaintext

import { a as absFloor } from "./absFloor-BlD_nfEw.mjs";
import { m as monthDiff } from "./monthDiff-BZ0YZrA0.mjs";
import parse from "./parse.mjs";
function diffInMonths(date, input, asFloat) {
const parsed = parse(input);
const output = monthDiff(date, parsed);
return asFloat ? output : absFloor(output);
}
export {
diffInMonths as default
};