Skip to content

PUBLISHED_AT_PARSER_VERSION ​

Import from: @xbbg/xnews, @xbbg/xnews/catalog, @xbbg/xnews/parsers

const PUBLISHED_AT_PARSER_VERSION: 1 = 1

Defined in: src/dates.ts (declaration: dates.d.ts:11)

Publication-time normalization.

parsePublishedAt is the single place raw upstream date text becomes a UTC instant. It is pure, total, and versioned: consumers that store publishedAtText can re-derive publishedAt after a parser fix by comparing PUBLISHED_AT_PARSER_VERSION. Explicit feed and provider formats are parsed without the host engine's date parser; unknown formats fall back to it and are tagged engine.

Last updated:

xbbg is independent open-source software and is not affiliated with, endorsed by, sponsored by, or approved by Bloomberg Finance L.P.