change: handlebar abstracts for date
This commit is contained in:
parent
496a60f2df
commit
5187a2dba6
6 changed files with 34 additions and 41 deletions
|
@ -249,12 +249,7 @@ export async function createProtocolPrintoutById(req: Request, res: Response): P
|
|||
title: protocol.title,
|
||||
summary: protocol.summary,
|
||||
iteration: iteration + 1,
|
||||
date: new Date(protocol.date).toLocaleDateString("de-DE", {
|
||||
weekday: "long",
|
||||
day: "2-digit",
|
||||
month: "2-digit",
|
||||
year: "numeric",
|
||||
}),
|
||||
date: protocol.date,
|
||||
start: protocol.starttime,
|
||||
end: protocol.endtime,
|
||||
agenda: agenda.sort((a, b) => a.sort - b.sort),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue