style(legacy): format files
This commit is contained in:
parent
4d393fa14e
commit
5e8f7d430f
4 changed files with 517 additions and 517 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue