mirror of
https://github.com/storytold/designcraft.git
synced 2026-11-01 22:26:49 -06:00
A PDF export recorded the second it was made in, so exporting one document twice gave different files although the pages matched -- and the instance id krilla derives from the bytes followed the timestamp, so nothing about the two files was comparable. SOURCE_DATE_EPOCH stands in for the clock when the export is given no date, as the reproducible-builds specification defines it. A date passed in still wins, and a value the PDF date format cannot hold -- malformed, negative, or past the range -- is ignored rather than refusing the export or writing a date no reader can parse. With the epoch pinned the two files are identical byte for byte. Rebased onto the post-split main: export_time and pinned_or live in export/metadata.rs beside now_unix, which they stand in front of, and the call site is in export/pipeline.rs. The ROADMAP keeps upstream's 2026-10-17 entry with this one above it.