sendou.ink/app/components/match-page/MatchBannerStartedAt.tsx
2026-05-25 17:35:44 +03:00

23 lines
415 B
TypeScript

import { LocaleTime } from "~/components/LocaleTime";
interface MatchBannerStartedAtProps {
time: Date;
}
export function MatchBannerStartedAt({ time }: MatchBannerStartedAtProps) {
return (
<LocaleTime
date={time}
options={{
month: "numeric",
year: "2-digit",
day: "numeric",
hour: "numeric",
minute: "numeric",
}}
className="text-lighter font-semi-bold"
inline
/>
);
}