Merge pull request #521 from modrinth/fix/512

Hotfix #512 not showing the correct date
This commit is contained in:
venashial
2022-06-04 09:19:19 -07:00
committed by GitHub

View File

@@ -89,7 +89,9 @@
</div>
<div class="dates">
<div
v-tooltip="$dayjs(createdAt).format('MMMM D, YYYY [at] h:mm:ss A')"
v-tooltip="
$dayjs(project.published).format('MMMM D, YYYY [at] h:mm:ss A')
"
class="date"
>
<CalendarIcon aria-hidden="true" />
@@ -97,7 +99,9 @@
<span class="value">{{ $dayjs(project.published).fromNow() }}</span>
</div>
<div
v-tooltip="$dayjs(updatedAt).format('MMMM D, YYYY [at] h:mm:ss A')"
v-tooltip="
$dayjs(project.updated).format('MMMM D, YYYY [at] h:mm:ss A')
"
class="date"
>
<UpdateIcon aria-hidden="true" />