Fix AutoFilter dat break referencing the old Now::evaluate() class/method, rather than the new Current::now()
This commit is contained in:
parent
cd667500e0
commit
97472ae383
|
|
@ -472,7 +472,7 @@ class AutoFilter
|
||||||
$val = $maxVal = null;
|
$val = $maxVal = null;
|
||||||
|
|
||||||
$ruleValues = [];
|
$ruleValues = [];
|
||||||
$baseDate = DateTimeExcel\Now::evaluate();
|
$baseDate = DateTimeExcel\Current::now();
|
||||||
// Calculate start/end dates for the required date range based on current date
|
// Calculate start/end dates for the required date range based on current date
|
||||||
switch ($dynamicRuleType) {
|
switch ($dynamicRuleType) {
|
||||||
case AutoFilter\Column\Rule::AUTOFILTER_RULETYPE_DYNAMIC_LASTWEEK:
|
case AutoFilter\Column\Rule::AUTOFILTER_RULETYPE_DYNAMIC_LASTWEEK:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue