mirror of
https://github.com/maciejpedzich/maciejpedzi.ch.git
synced 2025-02-06 05:38:35 +01:00
12 lines
166 B
Plaintext
12 lines
166 B
Plaintext
---
|
|
export interface Props {
|
|
date: Date;
|
|
}
|
|
|
|
const { date } = Astro.props;
|
|
---
|
|
|
|
<time datetime={date.toISOString()}>
|
|
{date.toISOString().substring(0, 10)}
|
|
</time>
|