mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-07-27 13:58:59 -05:00
23 lines
415 B
TypeScript
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
|
|
/>
|
|
);
|
|
}
|