From c512faf45c1ee7bfeab152becd3e3f524ab95ba5 Mon Sep 17 00:00:00 2001 From: gerard Date: Thu, 24 May 2018 15:47:04 +0200 Subject: [PATCH] fixed bugs on greuge --- client/client/src/greuge/create/index.js | 2 +- client/client/src/greuge/index/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/client/src/greuge/create/index.js b/client/client/src/greuge/create/index.js index 9d14e259f..38ecff50c 100644 --- a/client/client/src/greuge/create/index.js +++ b/client/client/src/greuge/create/index.js @@ -5,7 +5,7 @@ class Controller { this.$ = $scope; this.$state = $state; this.greuge = { - shipped: $filter('date')(new Date(), 'yyyy-MM-dd HH:mm') + shipped: new Date() }; } onSubmit() { diff --git a/client/client/src/greuge/index/index.html b/client/client/src/greuge/index/index.html index a5b18b693..eafd04ef8 100644 --- a/client/client/src/greuge/index/index.html +++ b/client/client/src/greuge/index/index.html @@ -14,7 +14,7 @@ + ng-repeat="greuge in index.model.instances track by greuge.id"> {{::greuge.shipped | date:'dd/MM/yyyy HH:mm' }} {{::greuge.description}} {{::greuge.amount | number:2}} €