(date)
| 538 | } |
| 539 | |
| 540 | function formatDateISO(date) { |
| 541 | const d = new Date(date); |
| 542 | const year = d.getFullYear(); |
| 543 | const month = String(d.getMonth() + 1).padStart(2, '0'); |
| 544 | const day = String(d.getDate()).padStart(2, '0'); |
| 545 | return `${year}-${month}-${day}`; |
| 546 | } |
no outgoing calls
no test coverage detected