(input: string | number)
| 8 | } |
| 9 | |
| 10 | export function formatDate(input: string | number): string { |
| 11 | const date = new Date(input) |
| 12 | return date.toLocaleDateString("en-US", { |
| 13 | month: "long", |
| 14 | day: "numeric", |
| 15 | year: "numeric", |
| 16 | }) |
| 17 | } |
| 18 | |
| 19 | export function absoluteUrl(path: string) { |
| 20 | return `${env.NEXT_PUBLIC_APP_URL}${path}` |
no outgoing calls
no test coverage detected