adds timestamp to item page
This commit is contained in:
parent
49fb9fe174
commit
abc4733bc1
@ -32,7 +32,8 @@
|
|||||||
<span class="mime">mime: {{ mime }}</span> <br />
|
<span class="mime">mime: {{ mime }}</span> <br />
|
||||||
<span class="size">size: {{ size }}</span><br />
|
<span class="size">size: {{ size }}</span><br />
|
||||||
<span class="channel">channel: {{ userchannel }}</span>
|
<span class="channel">channel: {{ userchannel }}</span>
|
||||||
<span class="network">network: {{ usernetwork }}</span>
|
<span class="network">network: {{ usernetwork }}</span><br>
|
||||||
|
<span class="timestamp">timestamp: {{ timestamp }}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
|
@ -138,6 +138,7 @@ function Websrv(tlib) {
|
|||||||
data.size = lib.formatSize(e.size);
|
data.size = lib.formatSize(e.size);
|
||||||
data.userchannel = e.userchannel;
|
data.userchannel = e.userchannel;
|
||||||
data.usernetwork = e.usernetwork;
|
data.usernetwork = e.usernetwork;
|
||||||
|
data.timestamp = new Date(e.stamp * 1000).toString();
|
||||||
if(rows[1].length)
|
if(rows[1].length)
|
||||||
data.next = rows[1][0].id;
|
data.next = rows[1][0].id;
|
||||||
if(rows[2].length)
|
if(rows[2].length)
|
||||||
|
Loading…
Reference in New Issue
Block a user