Use create instead of createNormalized on handlers

This commit is contained in:
Joseph Cohen
2016-02-17 16:32:10 -06:00
parent 1ddd868449
commit 537017925f
3 changed files with 3 additions and 3 deletions

View File

@@ -59,7 +59,7 @@ class UpdateIncidentCommandHandler
// The incident occurred at a different time.
if ($command->incident_date) {
$incidentDate = $this->dates->createNormalized('d/m/Y H:i', $command->incident_date);
$incidentDate = $this->dates->create('d/m/Y H:i', $command->incident_date);
$incident->update([
'created_at' => $incidentDate,