(date: Date)
| 82 | * @returns A formatted date string in the format "MMM D, YYYY" |
| 83 | */ |
| 84 | export function formatDate(date: Date): string { |
| 85 | return date.toLocaleDateString('en-US', { |
| 86 | year: 'numeric', |
| 87 | month: 'short', |
| 88 | day: 'numeric', |
| 89 | }) |
| 90 | } |
| 91 | |
| 92 | /** |
| 93 | * Formats a date string to absolute format for tooltip display |
no outgoing calls
no test coverage detected