Skip to content
This repository has been archived by the owner on Apr 11, 2018. It is now read-only.

Commit

Permalink
Fixed datetime format
Browse files Browse the repository at this point in the history
  • Loading branch information
eddiejaoude committed Mar 28, 2014
1 parent 034b063 commit e9d1c48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Opg/Core/Model/Entity/CaseItem/Lpa/Lpa.php
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ public function addPerson(Person $person)
public function setLpaCreatedDate($lpaCreatedDate = null)
{
$this->lpaCreatedDate =
(null === $lpaCreatedDate) ? date('d/m/Y') : $lpaCreatedDate;
(null === $lpaCreatedDate) ? date('Y-m-d H:i:s') : $lpaCreatedDate;
return $this;
}

Expand Down

0 comments on commit e9d1c48

Please sign in to comment.