Update PostComponent, change timestamp format

This commit is contained in:
Daniel Supernault 2020-11-30 20:59:45 -07:00
parent 37c1f34e9d
commit e51665f6e3
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -245,7 +245,7 @@
</span>
</div>
<div class="timestamp pt-2 d-flex align-items-bottom justify-content-between">
<a v-bind:href="statusUrl" class="small text-muted">
<a v-bind:href="statusUrl" class="small text-muted" :title="status.created_at">
{{timestampFormat()}}
</a>
<span class="small text-muted text-capitalize cursor-pointer" v-on:click="visibilityModal">{{status.visibility}}</span>
@ -831,7 +831,7 @@ export default {
timestampFormat() {
let ts = new Date(this.status.created_at);
return ts.toDateString() + ' ' + ts.toLocaleTimeString();
return ts.toDateString();
},
fetchData() {