]> BookStack Code Mirror - bookstack/blobdiff - resources/assets/js/vues/image-manager.js
Changes the way the date is displayed in image-manager.
[bookstack] / resources / assets / js / vues / image-manager.js
index 16c8ef9cfbf5c91a7107fefd8f704d86cce2a51c..9b17bcd0c458b21c093962eecd3834f7412eeef5 100644 (file)
@@ -1,3 +1,6 @@
+
+import * as Dates from "../services/dates";
+
 const dropzone = require('./components/dropzone');
 
 let page = 0;
@@ -168,7 +171,7 @@ const methods = {
     },
 
     getDate(stringDate) {
-        return new Date(stringDate);
+        return Dates.formatDateTime(new Date(stringDate));
     },
 
     uploadSuccess(event) {