import React from "react"; import { PiCalendarDots } from "react-icons/pi"; interface Props { date: number; } export default function StartedOn({ date }: Props) { const formattedDate = new Date(date); const yearMonthDay = formattedDate.toISOString().split("T")[0]; const fullDateTime = formattedDate.toLocaleString("en-US", { year: "numeric", month: "long", day: "numeric", hour: "2-digit", minute: "2-digit", second: "2-digit", hour12: false, }); return (

Started on

{yearMonthDay}

); };