"use strict";
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
const toDate = require("./toDate.cjs");
function endOfMonth(date, options) {
  const _date = toDate.toDate(date);
  const month = _date.getMonth();
  _date.setFullYear(_date.getFullYear(), month + 1, 0);
  _date.setHours(23, 59, 59, 999);
  return _date;
}
exports.default = endOfMonth;
exports.endOfMonth = endOfMonth;
//# sourceMappingURL=endOfMonth.cjs.map
