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