(value: Date | null | undefined)
| 276 | } |
| 277 | |
| 278 | function formatDate(value: Date | null | undefined) { |
| 279 | if (!value) return null |
| 280 | return value.toISOString().split("T")[0] |
| 281 | } |
| 282 | |
| 283 | function formatWeek(value: number) { |
| 284 | return formatDate(isoWeekStart(value)) ?? "" |
no outgoing calls
no test coverage detected