// src/utils/get-time-options.ts
var getTimeOptions = () => {
  const timeOptions = [];
  for (let i = 0; i < 24; i++) {
    for (let j = 0; j < 60; j += 10) {
      timeOptions.push(`${i < 10 ? `0${i}` : i}:${j < 10 ? `0${j}` : j}`);
    }
  }
  return timeOptions;
};
var parseTimeOption = (time) => {
  const [hour, minute] = time.split(":").map((t) => parseInt(t, 10));
  return { hour, minute };
};
var getTimeOption = (time) => {
  const hour = time.getHours();
  const minute = time.getMinutes();
  return `${hour < 10 ? `0${hour}` : hour}:${minute < 10 ? `0${minute}` : minute}`;
};

export {
  getTimeOptions,
  parseTimeOption,
  getTimeOption
};
//# sourceMappingURL=chunk-VAXB7NV2.js.map