Astro components
Formatted date
specific formatted date.
Displays a date object formatted as a readable string (e.g., "Oct 12, 2023").
---
import FormattedDate from '@/components/FormattedDate.astro';
---
<FormattedDate date={new Date('2023-10-12')} />
| Prop | Type | Default | Description |
|---|
date | Date | - | The date object to format and display. |