From d768601e450ff9e5c2366d0ef50e82adda0f3b70 Mon Sep 17 00:00:00 2001 From: syuilo <syuilotan@yahoo.co.jp> Date: Mon, 13 Mar 2017 16:33:09 +0900 Subject: [PATCH] =?UTF-8?q?[Client:Mobile]=20=E8=A9=B3=E7=B4=B0=E3=81=AA?= =?UTF-8?q?=E6=99=82=E9=96=93=E3=82=92=E7=A2=BA=E8=AA=8D=E3=81=A7=E3=81=8D?= =?UTF-8?q?=E3=82=8B=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/web/app/mobile/tags/drive/file-viewer.tag | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/web/app/mobile/tags/drive/file-viewer.tag b/src/web/app/mobile/tags/drive/file-viewer.tag index e38c3f317..79f6ea908 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>