Skip to content

Commit

Permalink
Add type hint for datetime and missing "to string" conversions (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
robertjndw authored May 15, 2024
1 parent dcb453b commit dbb3396
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions proposal_template.typ
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
supervisor: "",
advisors: (),
author: "",
startDate: none,
submissionDate: none,
startDate: datetime,
submissionDate: datetime,
body,
) = {
// Set the document's basic properties.
Expand Down
4 changes: 2 additions & 2 deletions thesis_template.typ
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
supervisor: "",
advisors: (),
author: "",
startDate: none,
submissionDate: none,
startDate: datetime,
submissionDate: datetime,
body,
) = {
set page(
Expand Down
2 changes: 1 addition & 1 deletion thesis_typ/disclaimer.typ
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
grid(
columns: 2,
gutter: 1fr,
"Munich, " + submissionDate, author
"Munich, " + submissionDate.display("[day].[month].[year]"), author
)

pagebreak()
Expand Down

0 comments on commit dbb3396

Please sign in to comment.