Script : fixing date error -refs BT#16345

ofaj
NicoDucou 6 years ago
parent ec9bedc3a2
commit 18f535c936
  1. 1
      tests/scripts/disable_user_conditions.php

@ -29,6 +29,7 @@ $now = $date->format('Y-m-d H:i:s');
$date = $date->sub(new DateInterval('P3M'));
$date3Months = $date->format('Y-m-d H:i:s');
$date = new Datetime();
$date = $date->sub(new DateInterval('P6M'));
$date6Months = $date->format('Y-m-d H:i:s');

Loading…
Cancel
Save