MCPcopy
hub / github.com/michaelshimeles/nextjs-starter-kit / formatDate

Function formatDate

app/pricing/_component/pricing-table.tsx:103–109  ·  view source on GitHub ↗
(date: Date)

Source from the content-addressed store, hash-verified

101 };
102
103 const formatDate = (date: Date) => {
104 return new Date(date).toLocaleDateString("en-US", {
105 year: "numeric",
106 month: "long",
107 day: "numeric",
108 });
109 };
110
111 return (
112 <section className="flex flex-col items-center justify-center px-4 mb-24 w-full">

Callers 1

PricingTableFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected