refs #5077 hours set 00:00:00 only when date change
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
daf3d4b52f
commit
35157207dd
|
@ -75,8 +75,10 @@ class Controller extends Component {
|
|||
}
|
||||
|
||||
set shipped(value) {
|
||||
if (new Date(this.ticket.shipped).toDateString() != value.toDateString())
|
||||
value.setHours(0, 0, 0, 0);
|
||||
|
||||
this.ticket.shipped = value;
|
||||
this.ticket.shipped.setHours(0, 0, 0, 0);
|
||||
this.getLanded({
|
||||
shipped: value,
|
||||
addressFk: this.ticket.addressFk,
|
||||
|
|
Loading…
Reference in New Issue