Change MomentJS locale to fr.
authorAlexandre Segura <mex.zktk@gmail.com>
Wed, 01 Mar 2017 18:49:21 +0100
changeset 413 9c5f2d97863a
parent 412 d7f556b0bd2a
child 414 49a753808505
Change MomentJS locale to fr.
src_js/iconolab-bundle/src/components/editor/Comment.vue
--- a/src_js/iconolab-bundle/src/components/editor/Comment.vue	Wed Mar 01 17:58:12 2017 +0100
+++ b/src_js/iconolab-bundle/src/components/editor/Comment.vue	Wed Mar 01 18:49:21 2017 +0100
@@ -53,7 +53,7 @@
             },
             dateFormatted: function () {
 
-              var date = moment(this.date); //.format("HH:mm DD/MM/YYYY");
+              var date = moment(this.date).locale('fr');
 
               return date.fromNow();
             },