(date: Date | string)
| 68 | } |
| 69 | |
| 70 | export function formatLocaleDatetimeString(date: Date | string): string { |
| 71 | if (typeof date === 'string') { |
| 72 | date = parseDate(date); |
| 73 | } |
| 74 | |
| 75 | return date.toLocaleDateString() + ' ' + date.toLocaleTimeString(); |
| 76 | } |
nothing calls this directly
no test coverage detected