import { useWatch } from "react-hook-form";
import { formatDateForDisplay } from "../utils/date.js";
export function EntryTimeLabel({ control, }) {
    const value = useWatch({ control, name: "entryTime" });
    return value ? formatDateForDisplay(new Date(value), true, true) : null;
}
//# sourceMappingURL=entry-time-label.js.map