eliminados los segundos de la fecha en greuge
This commit is contained in:
parent
9d5ae5a665
commit
1a772978b0
|
@ -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>
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue