import { toDate } from "./toDate.js";
function endOfMonth(date, options) {
  const _date = toDate(date);
  const month = _date.getMonth();
  _date.setFullYear(_date.getFullYear(), month + 1, 0);
  _date.setHours(23, 59, 59, 999);
  return _date;
}
export {
  endOfMonth as default,
  endOfMonth
};
//# sourceMappingURL=endOfMonth.js.map
