mirror of
https://github.com/C0ffeeCode/typst-dhbw-technik-template.git
synced 2025-12-28 15:22:18 +01:00
change/feat: set PDF date in metadata:
Date must now be specified as an object rather than as string
This commit is contained in:
parent
79aa5a4ed9
commit
9c9709ccbb
2 changed files with 8 additions and 3 deletions
|
|
@ -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)[
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue