Skip to content

Commit

Permalink
Update Log.php
Browse files Browse the repository at this point in the history
Date in 24 hour format.
  • Loading branch information
yepes authored Nov 30, 2021
1 parent 34a2865 commit eec3e84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Log.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ static function l(array $oldAttributes, array $newAttributes, $event, $object, $
$model->event = $event->name;
$model->object = $object;
$model->user = $uid;
$model->date = gmdate('Y-m-d h:i:s');
$model->object_id = $object_id;
$model->date = gmdate('Y-m-d H:i:s');
$model->object_id = $object_id;

$model->save();
}
Expand Down

1 comment on commit eec3e84

@vercel
Copy link

@vercel vercel bot commented on eec3e84 Nov 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.