use the time
element in projects
This commit is contained in:
parent
49562a82a4
commit
61e432a81e
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ let lastYear = 0;
|
|||
<details>
|
||||
<summary>
|
||||
<span class="name">{project.name}</span>
|
||||
<span class="date">{project.dateVisual || project.date.toLocaleString("default", { month: "long" })}</span>
|
||||
<time class="date" datetime={project.date.toISOString().split("T")[0]}>{project.dateVisual || project.date.toLocaleString("default", { month: "long" })}</time>
|
||||
</summary>
|
||||
<div class="open">
|
||||
<p>{project.description}</p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue