Skip to main content

FIXED_CREATION_DATE

@forge/monorepo


@forge/monorepo / backend/src / FIXED_CREATION_DATE

Variable: FIXED_CREATION_DATE

const FIXED_CREATION_DATE: "2000-01-01T00:00:00.000Z" = "2000-01-01T00:00:00.000Z"

Defined in: backend/src/export/pdf.ts:392

The default creation date.

A constant, and that is the point. new Date() would put a different timestamp in every render and make byte-for-byte comparison impossible — so a caller that wants a real date passes one, and a caller that wants reproducibility gets it by default. The date chosen is the PDF epoch's own convention for "unset".