Use config timezone in all displayed times (#326)

This commit is contained in:
Nixinova
2021-05-27 04:19:24 +12:00
committed by GitHub
parent 67712cd07a
commit 19552e2dc5
8 changed files with 11 additions and 11 deletions

View File

@@ -251,7 +251,7 @@
</h2>
<ul v-if="activity.length">
<li v-for="{actor, type, repo, timestamp, ...event} of activity">
<time :datetime="timestamp">{{ format("date", timestamp, {timeStyle:"short", dateStyle:"short"}) }}</time>
<time :datetime="timestamp">{{ format("date", timestamp, {timeStyle:"short", dateStyle:"short", timeZone:config.timezone?.name}) }}</time>
<div class="actor" v-if="account.type === 'organization'">
<img :src="`https://github.com/${/\[bot\]$/.test(actor) ? 'actions' : actor }.png`">
<a :href="`https://github.com/${actor}`">{{ actor }}</a>