feat(ui): updates date-times to match new server format

This commit is contained in:
Matteo Cominetti
2020-10-08 12:36:14 +01:00
parent a737b56578
commit bb09b9108e
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -22,7 +22,7 @@
</router-link>
</strong>
&nbsp;
<timeago :datetime="parseInt(commit.createdAt)"></timeago>
<timeago :datetime="commit.createdAt"></timeago>
</v-col>
</v-row>
@@ -47,7 +47,7 @@
</v-col>
<v-spacer></v-spacer>
<v-col class="text-right">
<timeago :datetime="parseInt(item.createdAt)"></timeago>
<timeago :datetime="item.createdAt"></timeago>
</v-col>
</v-row>
<v-divider v-if="i < commit.items.length - 1"></v-divider>
+1 -1
View File
@@ -13,7 +13,7 @@
&nbsp;
<strong>You</strong>
created a new stream &nbsp;
<timeago :datetime="parseInt(stream.createdAt)"></timeago>
<timeago :datetime="stream.createdAt"></timeago>
</v-col>
</v-row>
<v-card class="mb-3" elevation="0" rounded="lg">
+2 -2
View File
@@ -43,9 +43,9 @@
<div class="mt-1 grey--text text--lighten-1">
Created
<timeago :datetime="parseInt(stream.createdAt)"></timeago>
<timeago :datetime="stream.createdAt"></timeago>
, updated
<timeago :datetime="parseInt(stream.updatedAt)"></timeago>
<timeago :datetime="stream.updatedAt"></timeago>
</div>
</v-col>
</v-row>