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
@@ -46,7 +46,7 @@ class ReportMaintenanceCommandHandler
*/
public function handle(ReportMaintenanceCommand $command)
{
$scheduledAt = $this->dates->createNormalized('d/m/Y H:i', $command->timestamp);
$scheduledAt = $this->dates->create('d/m/Y H:i', $command->timestamp);
$maintenanceEvent = Incident::create([
'name' => $command->name,