Skip to content

Commit

Permalink
fix bug where carbon didnt use timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
kruisdraad committed Jan 11, 2017
1 parent 04bf433 commit e4ee2c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "abuseio/collector-rbl",
"description": "Collector addon for handling notifications from RBL lists",
"version": "1.3.3",
"version": "1.3.4",
"keywords": ["laravel", "abuseio", "parser", "rbl"],
"homepage": "http://abuse.io",
"type": "library",
Expand Down
2 changes: 1 addition & 1 deletion src/Rbl.php
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ private function scanAddress($address)
* today's timestamp used as report time (today 00:00) to prevent a lot of duplicates on the
* same day. Using the same time will aggregate and deduplicate events into 1 per day.
*/
$incident->timestamp = Carbon::today();
$incident->timestamp = Carbon::today()->timestamp;

$incident->information = json_encode(
array_merge(
Expand Down

0 comments on commit e4ee2c7

Please sign in to comment.