Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
Sigri44 committed Oct 31, 2018
1 parent c6efc69 commit 5035710
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sigri_linky/core/class/sigri_linky.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public static function launch_sigri_linky()

$cmd = $sigri_linky->getCmd(null, 'consojour');
if (is_object($cmd)) {
$end_date = new DateTime()-1;
$end_date = new DateTime();
$start_date = new DateTime();
$start_date->sub(new DateInterval('P30D'));
$sigri_linky->Call_Enedis_API($API_cookies, $Useragent, "urlCdcJour", $start_date, $end_date);
Expand Down

0 comments on commit 5035710

Please sign in to comment.