Merge branch 'f0ckdev' into 'master'

adds timestamp to item page



See merge request !10
This commit is contained in:
jkhsjdhjs 2016-10-21 00:36:33 +00:00
commit bff8f08cdf
2 changed files with 3 additions and 1 deletions

View File

@ -32,7 +32,8 @@
<span class="mime">mime: {{ mime }}</span>&nbsp;<br />
<span class="size">size: {{ size }}</span><br />
<span class="channel">channel: {{ userchannel }}</span>&nbsp;
<span class="network">network: {{ usernetwork }}</span>
<span class="network">network: {{ usernetwork }}</span><br>
<span class="timestamp">timestamp: {{ timestamp }}</span>
</div>
</div>
<br />

View File

@ -138,6 +138,7 @@ function Websrv(tlib) {
data.size = lib.formatSize(e.size);
data.userchannel = e.userchannel;
data.usernetwork = e.usernetwork;
data.timestamp = new Date(e.stamp * 1000).toString();
if(rows[1].length)
data.next = rows[1][0].id;
if(rows[2].length)