|
@@ -209,7 +209,7 @@
|
|
</div>
|
|
</div>
|
|
<div class="timestamp">
|
|
<div class="timestamp">
|
|
<a v-bind:href="statusUrl" class="small text-muted">
|
|
<a v-bind:href="statusUrl" class="small text-muted">
|
|
- November 1, 2018
|
|
|
|
|
|
+ {{timestampFormat()}}
|
|
</a>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -303,6 +303,10 @@ export default {
|
|
pixelfed.hydrateLikes();
|
|
pixelfed.hydrateLikes();
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ timestampFormat() {
|
|
|
|
+ let ts = new Date(this.status.created_at);
|
|
|
|
+ return ts.toDateString();
|
|
|
|
+ },
|
|
fetchData() {
|
|
fetchData() {
|
|
let url = '/api/v2/profile/'+this.statusUsername+'/status/'+this.statusId;
|
|
let url = '/api/v2/profile/'+this.statusUsername+'/status/'+this.statusId;
|
|
axios.get(url)
|
|
axios.get(url)
|