Explorar o código

Update PostComponents, re-add time to timestamp

Daniel Supernault %!s(int64=4) %!d(string=hai) anos
pai
achega
c5281dcdb3

+ 1 - 1
resources/assets/js/components/PostComponent.vue

@@ -937,7 +937,7 @@ export default {
 
 
 			timestampFormat() {
 			timestampFormat() {
 					let ts = new Date(this.status.created_at);
 					let ts = new Date(this.status.created_at);
-					return ts.toDateString();
+					return ts.toDateString() + ' · ' + ts.toLocaleTimeString();
 			},
 			},
 
 
 			fetchData() {
 			fetchData() {

+ 1 - 1
resources/assets/js/components/RemotePost.vue

@@ -643,7 +643,7 @@ export default {
 
 
 			timestampFormat() {
 			timestampFormat() {
 					let ts = new Date(this.status.created_at);
 					let ts = new Date(this.status.created_at);
-					return ts.toDateString();
+					return ts.toDateString() + ' · ' + ts.toLocaleTimeString();
 			},
 			},
 
 
 			fetchData() {
 			fetchData() {