mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-18 20:18:36 +02:00
update: desktop style
This commit is contained in:
parent
0dcd3a5838
commit
b4bd409e4b
7 changed files with 39 additions and 18 deletions
|
@ -63,7 +63,10 @@ function formatDate(date: Date, format: 'YYYY-MM-DD' | 'MM-DD-YYYY' | 'DD-MM-YYY
|
|||
|
||||
<!-- updated date -->
|
||||
{updatedDate && (
|
||||
<time datetime={updatedDate.toISOString().split('T')[0]} class={timeSpacingClass}>
|
||||
<time
|
||||
datetime={updatedDate.toISOString().split('T')[0]}
|
||||
class={timeSpacingClass}
|
||||
>
|
||||
updated {formatDate(updatedDate, format)}
|
||||
</time>
|
||||
)}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue