Call to a member function format() on string
$time = \DateTime::createFromFormat('Y-m-d H:i:s',$estimatedTime);
$order->setEstimatedTime($time);
/**
* @return \DateTime
*/
public function getEstimatedTime()
{
return $this->est
原创
2017-07-13 19:06:41 ·
2444 阅读 ·
0 评论