style(legacy): format files

This commit is contained in:
jo 2022-07-01 18:39:02 +02:00 committed by Kyle Robbertze
parent 4d393fa14e
commit 5e8f7d430f
4 changed files with 517 additions and 517 deletions

View file

@ -1688,13 +1688,13 @@ SQL;
// need to pull in the current time and subtract the value or figure out how to make it relative
$relativedate = new DateTime($spCriteriaValue);
$dt = $relativedate->format(DateTime::ISO8601);
// Logging::info($spCriteriaValue);
$spCriteriaValue = "{$spCriteria} <= '{$dt}'";
// Logging::info($spCriteriaValue);
} elseif ($spCriteriaModifier == 'after') {
$relativedate = new DateTime($spCriteriaValue);
$dt = $relativedate->format(DateTime::ISO8601);
// Logging::info($spCriteriaValue);
$spCriteriaValue = "{$spCriteria} >= '{$dt}'";
// Logging::info($spCriteriaValue);
} elseif ($spCriteriaModifier == 'between') {
$fromrelativedate = new DateTime($spCriteriaValue);
$fdt = $fromrelativedate->format(DateTime::ISO8601);