diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2017-03-13 16:33:09 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2017-03-13 16:33:09 +0900 |
| commit | 144576a57789760db743505bc3fe5e91c7e41051 (patch) | |
| tree | f3726a6a78daa9140d780d49f8a46a00de357f26 /src | |
| parent | [Client] :v: (diff) | |
| download | misskey-144576a57789760db743505bc3fe5e91c7e41051.tar.gz misskey-144576a57789760db743505bc3fe5e91c7e41051.tar.bz2 misskey-144576a57789760db743505bc3fe5e91c7e41051.zip | |
[Client:Mobile] 詳細な時間を確認できるように
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/app/mobile/tags/drive/file-viewer.tag | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/web/app/mobile/tags/drive/file-viewer.tag b/src/web/app/mobile/tags/drive/file-viewer.tag index e38c3f317c..79f6ea908e 100644 --- a/src/web/app/mobile/tags/drive/file-viewer.tag +++ b/src/web/app/mobile/tags/drive/file-viewer.tag @@ -23,7 +23,7 @@ <span class="separator"></span> <span class="data-size">{ bytesToSize(file.datasize) }</span> <span class="separator"></span> - <span class="created-at"><i class="fa fa-clock-o"></i><mk-time time={ file.created_at }></mk-time></span> + <span class="created-at" onclick={ showCreatedAt }><i class="fa fa-clock-o"></i><mk-time time={ file.created_at }></mk-time></span> </div> </div> <div class="menu"> @@ -213,5 +213,9 @@ }); }); }; + + this.showCreatedAt = () => { + alert(new Date(this.file.created_at).toLocaleString()); + }; </script> </mk-drive-file-viewer> |