(isoDate: string | null | undefined)
| 732 | * @returns Formatted date string |
| 733 | */ |
| 734 | export function formatFullDate(isoDate: string | null | undefined): string { |
| 735 | if (!isoDate) return "Unknown"; |
| 736 | |
| 737 | const date = new Date(isoDate); |
| 738 | if (isNaN(date.getTime())) return "Unknown"; |
| 739 | |
| 740 | return date.toLocaleDateString("en-US", { |
| 741 | year: "numeric", |
| 742 | month: "long", |
| 743 | day: "numeric", |
| 744 | }); |
| 745 | } |
| 746 | |
| 747 | /** |
| 748 | * Generate HTML for displaying last updated time with hover tooltip |
no outgoing calls
no test coverage detected