From 9c9709ccbb89f6b7e0148c91ee9e57aef6d57fbe Mon Sep 17 00:00:00 2001 From: C0ffeeCode Date: Thu, 18 Apr 2024 12:05:14 +0200 Subject: [PATCH] change/feat: set PDF date in metadata: Date must now be specified as an object rather than as string --- template.typ | 5 +++-- thesis.typ | 6 +++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/template.typ b/template.typ index ffb3aec..52899b8 100755 --- a/template.typ +++ b/template.typ @@ -165,6 +165,7 @@ #set document( title: title, author: author, + date: date, ) #set page( @@ -324,7 +325,7 @@ #text(16pt)[*#author*] #v(16pt) - #text(14pt)[#date] + #text(14pt)[#date.display("[day].[month].[year]")] #set align(bottom) @@ -377,7 +378,7 @@ #v(48pt) - #university.location, #date + #university.location, #date.display("[day].[month].[year]") // #v(48pt) #box(width: 196pt, height: 40pt)[ diff --git a/thesis.typ b/thesis.typ index 77cdf0d..72e2a98 100755 --- a/thesis.typ +++ b/thesis.typ @@ -6,7 +6,11 @@ type: "TX000", student_id: "change-me", course: "TINF2XA", - date: "00.00.2024", + date: datetime( + year: 1984, + month: 10, + day: 10, + ), time_period: "01.01.2023 - 00.00.2024", confidentiality_clause: true, language: "en",