Skip to content

Commit

Permalink
fix(sync): fixed expirationdate calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiSchwarz-cnic committed Feb 28, 2020
1 parent 762e3d3 commit 87d1654
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion registrars/ispapi/ispapi.php
Original file line number Diff line number Diff line change
Expand Up @@ -3059,8 +3059,9 @@ function ispapi_Sync($params)
$values["active"] = true;
}

$expirationdate = $r["EXPIRATIONDATE"][0];
$expirationts = strtotime($expirationdate);
$finalizationdate = $r["FINALIZATIONDATE"][0];
$finalizationdate = $r["FINALIZATIONDATE"][0];// 2020-04-26 21:59:59
$paiduntildate = $r["PAIDUNTILDATE"][0];
$accountingdate = $r["ACCOUNTINGDATE"][0];
$failuredate = $r["FAILUREDATE"][0];
Expand Down

0 comments on commit 87d1654

Please sign in to comment.