Skip to content

feed-date.ts#

View Markdown

Source

1 documented symbol. Read the signatures first, then expand each item for parameters, return types, and examples.

1 symbols 1 functions 1 parameters 1 returns

Reference#

fnparseDate(value: string | undefined): ParsedDate | undefinedParse a feed date: epoch seconds, epoch milliseconds, or a civil date-time with…

Parse a feed date: epoch seconds, epoch milliseconds, or a civil date-time with an optional zone offset.

The rule lives in Rust (ox_content_ssg::parse_date) so the feeds the Vite plugin writes and the ones the native SSG writes agree on what a date is.

Signature

export function parseDate(value: string | undefined): ParsedDate | undefined

View source

Parameters

  • value string | undefined

Returns

ParsedDate | undefined