import { DateTime } from "luxon";
//#region src/utilities/input/DateUtilities.js
const formatDateToLocaleString = (isoDate, luxonFormat = "") => {
	return DateTime.fromISO(isoDate, { zone: "utc" }).toLocal().toLocaleString(luxonFormat);
};
const toUtcDate = (date) => {
	if (!date) return null;
	if (date.endsWith("Z")) return new Date(date);
	else return /* @__PURE__ */ new Date(date + "Z");
};
//#endregion
export { formatDateToLocaleString, toUtcDate };

//# sourceMappingURL=DateUtilities.mjs.map