mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-16 04:56:34 +00:00
Fix AutoFilter dat break referencing the old Now::evaluate() class/method, rather than the new Current::now()
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user