
diff -r 159042869b47 -r 3e61d1c8acd3 src_js/iconolab-bundle/src/components/editor/Comment.vue
--- a/src_js/iconolab-bundle/src/components/editor/Comment.vue	Wed Mar 01 16:39:43 2017 +0100
+++ b/src_js/iconolab-bundle/src/components/editor/Comment.vue	Wed Mar 01 15:46:18 2017 +0100
@@ -17,6 +17,7 @@
 <script>
 
     import showdown from 'showdown'
+    import moment from 'moment'
 
     const converter = new showdown.Converter({
         simpleLineBreaks: true
@@ -41,13 +42,9 @@
         computed: {
             dateFormatted: function () {
 
-                var date = new Date(this.date);
+              var date = moment(this.date); //.format("HH:mm DD/MM/YYYY");
 
-                var day = date.getDate();
-                var month = date.getMonth() + 1;
-                var year = date.getFullYear();
-
-                return day + '/' + month + '/' + year;
+              return date.fromNow();
             },
             commentFormatted: function(){
               return converter.makeHtml(this.comment);




