Skip to content

Commit

Permalink
bugfix preferred shipping date
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkerpeter committed Mar 8, 2016
1 parent 20fc5d7 commit 49d7d36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public function setPreferredShippingDate(\DateTime $date = null) {
if (is_null($date)) {
$date = new \DateTime('NOW');
}
$this->PreferredShippingDate = date('Y-m-d', $date->getTimestamp());
$this->PreferredShippingDate = date('Y-m-d H:i:s', $date->getTimestamp());
return $this;
}

Expand Down

0 comments on commit 49d7d36

Please sign in to comment.