diff --git a/src/routes/zhen/cv/rev1/+page.svelte b/src/routes/zhen/cv/rev1/+page.svelte index ab43c34..721d9a0 100644 --- a/src/routes/zhen/cv/rev1/+page.svelte +++ b/src/routes/zhen/cv/rev1/+page.svelte @@ -35,9 +35,18 @@ } }); + function getFormattedDate(): string { + const date = new Date(); + const day = String(date.getDate()).padStart(2, '0'); + const month = String(date.getMonth() + 1).padStart(2, '0'); + const year = date.getFullYear(); + + return `${day}-${month}-${year}`; + } + -Zhentao Wei's Epos CV +Zhentao Wei's CV {getFormattedDate()}