From c5eaaad226af019849bb06c6958322ed5d3a4b1e Mon Sep 17 00:00:00 2001
From: ulrich <not disclosed>
Date: Sun, 25 Mar 2018 08:45:50 +0000
Subject: [PATCH] Dateigroesse und Datum in Dateiliste hinzugefuegt

---
 web/ui/data.js |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/web/ui/data.js b/web/ui/data.js
index 7e9193d..29fb602 100644
--- a/web/ui/data.js
+++ b/web/ui/data.js
@@ -126,6 +126,14 @@
     }
     
   };
+  
+  this.fileDate = function() {
+    return moment(self.fr.lastModified).format("YYYY-MM-DD-hh-mm-ss-SSS");
+  };
+  
+  this.fileSize = function() {
+    return numeral(self.fr.length).format("0.00 b");
+  };
 }
 
 function BcrFiles(fl) {

--
Gitblit v1.9.3