// DateDisplay.tsx
interface DateDisplayProps {
  date: Date;
}

export const DateDisplay = ({ date }: DateDisplayProps) => {
  const formattedDate = new Intl.DateTimeFormat("id-ID", {
    day: "2-digit",
    month: "short",
    year: "numeric",
    hour: "2-digit",
    minute: "2-digit",
    second: "2-digit",
  }).format(date);

  return <label>{formattedDate}</label>;
};

