(from: string, to: string)
| 497 | } |
| 498 | |
| 499 | function formatDateRange(from: string, to: string) { |
| 500 | return `${formatDate(from)} - ${formatDate(to)}`; |
| 501 | } |
| 502 | |
| 503 | function formatDate(date: string) { |
| 504 | const { year, month, day } = dateParts(date); |
no test coverage detected