change/feat: set PDF date in metadata:

Date must now be specified as an object rather than as string
This commit is contained in:
Laurenz 2024-04-18 12:05:14 +02:00
parent 79aa5a4ed9
commit 9c9709ccbb
No known key found for this signature in database
GPG key ID: E3D5C22DBA1A8C36
2 changed files with 8 additions and 3 deletions

View file

@ -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)[

View file

@ -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",