ofacActionDate
Import from: @xbbg/xnews, @xbbg/xnews/catalog
ofacActionDate(
segment):string
Defined in: src/sources/ofac.urls.ts (declaration: sources/ofac.urls.d.ts:27)
Converts OFAC's YYYYMMDD path segment to an ISO date. Returns undefined for segments that are well-formed digits but not real dates (20261340), so a template change cannot mint a nonsense publication date.
Parameters
segment
string
Returns
string
