diff options
| author | frozolotl <44589151+frozolotl@users.noreply.github.com> | 2024-04-04 17:00:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-04 15:00:02 +0000 |
| commit | ffc9570c643540282d35dfe3075567c1200e4171 (patch) | |
| tree | e9ffdd8d361beb0eefac6cd78c2a5b14b2a80249 /crates/typst-cli/src/compile.rs | |
| parent | 8013f69714456043f5334670b6ecec2963309622 (diff) | |
Remove SOURCE_DATE_EPOCH CLI argument (#3859)
Diffstat (limited to 'crates/typst-cli/src/compile.rs')
| -rw-r--r-- | crates/typst-cli/src/compile.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/typst-cli/src/compile.rs b/crates/typst-cli/src/compile.rs index e6f8b241..6273615c 100644 --- a/crates/typst-cli/src/compile.rs +++ b/crates/typst-cli/src/compile.rs @@ -167,7 +167,7 @@ fn export( /// Export to a PDF. fn export_pdf(document: &Document, command: &CompileCommand) -> StrResult<()> { let timestamp = convert_datetime( - command.common.source_date_epoch.unwrap_or_else(chrono::Utc::now), + command.common.creation_timestamp.unwrap_or_else(chrono::Utc::now), ); let buffer = typst_pdf::pdf(document, Smart::Auto, timestamp); command |
