feat: use <time>
element
This commit is contained in:
parent
c8c4972693
commit
ae2ce85bcc
|
@ -17,6 +17,6 @@ const buildTimeAgo = useTimeAgo(buildTime)
|
||||||
</div>
|
</div>
|
||||||
<a cursor-pointer hover:underline @click="openPreviewHelp">Show intro</a>
|
<a cursor-pointer hover:underline @click="openPreviewHelp">Show intro</a>
|
||||||
<div>A Mastodon client made with 💛</div>
|
<div>A Mastodon client made with 💛</div>
|
||||||
<div>Built <span :title="buildTime">{{ buildTimeAgo }}</span> · <a href="https://github.com/elk-zone/elk" target="_blank">GitHub</a></div>
|
<div>Built <time :datetime="buildTime" :title="buildTime">{{ buildTimeAgo }}</time> · <a href="https://github.com/elk-zone/elk" target="_blank">GitHub</a></div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
|
@ -83,9 +83,9 @@ const timeago = useTimeAgo(() => status.createdAt, {
|
||||||
<StatusAccountDetails :account="status.account" />
|
<StatusAccountDetails :account="status.account" />
|
||||||
<div flex-auto />
|
<div flex-auto />
|
||||||
<CommonTooltip :content="createdAt">
|
<CommonTooltip :content="createdAt">
|
||||||
<div text-sm op50 hover:underline :title="status.createdAt">
|
<time text-sm op50 hover:underline :title="status.createdAt" :datetime="status.createdAt">
|
||||||
{{ timeago }}
|
{{ timeago }}
|
||||||
</div>
|
</time>
|
||||||
</CommonTooltip>
|
</CommonTooltip>
|
||||||
</div>
|
</div>
|
||||||
<StatusReplyingTo v-if="status.inReplyToAccountId" :status="status" pt1 />
|
<StatusReplyingTo v-if="status.inReplyToAccountId" :status="status" pt1 />
|
||||||
|
|
Loading…
Reference in a new issue