Skip to content
Snippets Groups Projects
Commit 144576a5 authored by syuilo's avatar syuilo
Browse files

[Client:Mobile] 詳細な時間を確認できるように

parent edce96a6
No related branches found
No related tags found
No related merge requests found
......@@ -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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment