(n: number)
| 46 | } |
| 47 | |
| 48 | function pad2(n: number): string { |
| 49 | return String(n).padStart(2, '0') |
| 50 | } |
| 51 | |
| 52 | /** ISO `YYYY-MM-DD` for the given date (local time). */ |
| 53 | export function formatISODate(date: Date): string { |
no outgoing calls
no test coverage detected