({date}: {date: string})
| 328 | } |
| 329 | |
| 330 | export function Time({date}: {date: string}) { |
| 331 | return ( |
| 332 | <time itemProp="datePublished" dateTime={date} className={style({font: 'detail'})}> |
| 333 | {new Date(date).toLocaleDateString('en-US', {year: 'numeric', month: 'long', day: 'numeric'})} |
| 334 | </time> |
| 335 | ); |
| 336 | } |
nothing calls this directly
no outgoing calls
no test coverage detected