소스 검색

Update PostComponents, re-add time to timestamp

Daniel Supernault 4 년 전
부모
커밋
c5281dcdb3
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      resources/assets/js/components/PostComponent.vue
  2. 1 1
      resources/assets/js/components/RemotePost.vue

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

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

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

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