mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-10 00:34:50 +00:00
Fixes #568
This commit is contained in:
parent
3e6a131cf3
commit
64ff569634
1 changed files with 5 additions and 1 deletions
|
@ -209,7 +209,7 @@
|
|||
</div>
|
||||
<div class="timestamp">
|
||||
<a v-bind:href="statusUrl" class="small text-muted">
|
||||
November 1, 2018
|
||||
{{timestampFormat()}}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -303,6 +303,10 @@ export default {
|
|||
pixelfed.hydrateLikes();
|
||||
},
|
||||
methods: {
|
||||
timestampFormat() {
|
||||
let ts = new Date(this.status.created_at);
|
||||
return ts.toDateString();
|
||||
},
|
||||
fetchData() {
|
||||
let url = '/api/v2/profile/'+this.statusUsername+'/status/'+this.statusId;
|
||||
axios.get(url)
|
||||
|
|
Loading…
Reference in a new issue