Something went wrong. Try again.
Blog Built with AT Protocol skiddle.id
Something went wrong. Try again.
1234567891011121314151617---interface Props { date: Date;}const { date } = Astro.props;---
<time datetime={date.toISOString()}> { date.toLocaleDateString('en-us', { year: 'numeric', month: 'short', day: 'numeric', }) }</time>