(atMs: number)
| 77 | // --------------------------------------------------------------------------- |
| 78 | |
| 79 | const utcDay = (atMs: number): string => new Date(atMs).toISOString().slice(0, 10); |
| 80 | |
| 81 | /** Rejects the wrong shape and impossible dates alike (`2026-02-31` round-trips as March). */ |
| 82 | function isValidDay(day: string): boolean { |
no outgoing calls
no test coverage detected