Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/flo-bit/flo-bit.github.io. my personal website, w/ astro, svelte, tailwind, typescript, threlte flo-bit.dev
Something went wrong. Try again.
123456789101112131415161718---interface Props { date: Date;}
const { date } = Astro.props;---
<time datetime={date.toISOString()}> { date.toLocaleDateString('en-us', { year: 'numeric', month: 'short', day: 'numeric', }) }</time>