Pull a YYYY-MM-DD date from a path segment (typically the run directory). Falls back to the epoch date when no ISO date is embedded — matching guessDateFromRunDir in analysis-aggregator.ts.
YYYY-MM-DD
analysis-aggregator.ts
Any path string
ISO date string in YYYY-MM-DD form
Pull a
YYYY-MM-DDdate from a path segment (typically the run directory). Falls back to the epoch date when no ISO date is embedded — matching guessDateFromRunDir inanalysis-aggregator.ts.