Skip to content

Commit

Permalink
Update scraper.php
Browse files Browse the repository at this point in the history
  • Loading branch information
handelaar committed Jul 6, 2017
1 parent 8d163c2 commit a8ce51c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scraper.php
Expand Up @@ -101,7 +101,7 @@
$todate = explode('period for this application expired on ',$todate);
$on_notice_to = $todate[1];
} else {
die("can't determine date from this: \n\n$todate");
$on_notice_to = date($date_format,(strtotime($date_received) + (60*60*24*35)));
}
unset($todate,$details,$remaininginfo);

Expand Down Expand Up @@ -134,7 +134,7 @@
scraperwiki::save(array('council_reference'), $application);
print (" ...saved\n");
} else {
print ("Skipping already saved record " . $application['council_reference'] . "\n");
print ("...skipping already saved record " . $application['council_reference'] . "\n");
}


Expand Down

0 comments on commit a8ce51c

Please sign in to comment.