Fix AutoFilter dat break referencing the old Now::evaluate() class/method, rather than the new Current::now()

This commit is contained in:
MarkBaker
2021-05-12 13:37:31 +02:00
committed by Mark Baker
parent cd667500e0
commit 97472ae383
+1 -1
View File
@@ -472,7 +472,7 @@ class AutoFilter
$val = $maxVal = null;
$ruleValues = [];
$baseDate = DateTimeExcel\Now::evaluate();
$baseDate = DateTimeExcel\Current::now();
// Calculate start/end dates for the required date range based on current date
switch ($dynamicRuleType) {
case AutoFilter\Column\Rule::AUTOFILTER_RULETYPE_DYNAMIC_LASTWEEK: