Skip to content

Commit

Permalink
setting up delete times properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
sturzael committed Aug 22, 2018
1 parent ead9535 commit a34df5e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion date.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

foreach ($notCal as $row) {
$bookingTime = $row['bookingStart'];
// $bookingTime = date('Y-m-d H:i:s', strtotime( "$bookingTime + 10 hours"));
$bookingTime = date('Y-m-d H:i:s', strtotime( "$bookingTime + 10 hours"));
$databaseArray[] = $bookingTime;
}

Expand All @@ -25,6 +25,8 @@
}

$result = array_diff($databaseArray, $googleArray);

// echo "database now + ";
// print_r($databaseArray);
// print_r($googleArray);

Expand Down

0 comments on commit a34df5e

Please sign in to comment.