eliminados los segundos de la fecha en greuge

This commit is contained in:
Daniel Herrero 2018-01-10 11:29:41 +01:00
parent 9d5ae5a665
commit 1a772978b0
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@
<vn-date-picker vn-one <vn-date-picker vn-one
label="Date" label="Date"
model="$ctrl.greuge.shipped" model="$ctrl.greuge.shipped"
ini-options="{enableTime: true, dateFormat: 'd-m-Y h:i:s', time_24hr: true}" ini-options="{enableTime: true, dateFormat: 'd-m-Y h:i', time_24hr: true}"
> >
</vn-date-picker> </vn-date-picker>
</vn-horizontal> </vn-horizontal>

View File

@ -5,7 +5,7 @@ class ClientGreugeCreate {
this.$ = $scope; this.$ = $scope;
this.$state = $state; this.$state = $state;
this.greuge = { this.greuge = {
shipped: $filter('date')(new Date(), 'yyyy-MM-dd HH:mm:ss') shipped: $filter('date')(new Date(), 'yyyy-MM-dd HH:mm')
}; };
} }
onSubmit() { onSubmit() {