import React from "react";
import classNames from "classnames";
import dayjs from "dayjs";
import "./ReadPretty.less";
//#region src/components/dataSourceComponents/fields/DateRangePicker/ReadPretty.tsx
const DateRangePickerReadPretty = (props) => {
	const { value, renderMode } = props;
	return /* @__PURE__ */ React.createElement("span", { className: classNames("pisell-date-range-picker-read-pretty", { "pisell-date-range-picker-read-pretty-table-view": renderMode === "tableView" }) }, value ? dayjs(value).format("YYYY-MM-DD HH:mm:ss") : "");
};
//#endregion
export { DateRangePickerReadPretty as default };
