This commit is contained in:
2022-10-05 15:30:55 +02:00
parent d95472ca9d
commit 642b1e43c8
22 changed files with 79 additions and 59 deletions

View File

@@ -54,8 +54,8 @@ class MonthYearAggregator implements AggregatorInterface
return 'by month and year';
}
$month = (int)substr($value, 0, 2);
$year = (int)substr($value, 3, 4);
$month = (int) substr($value, 0, 2);
$year = (int) substr($value, 3, 4);
return strftime('%B %G', mktime(0, 0, 0, $month, 1, $year));
};

View File

@@ -21,7 +21,6 @@ use Symfony\Contracts\Translation\TranslatorInterface;
class UrgencyAggregator implements AggregatorInterface
{
private TranslatorInterface $translator;
public function __construct(
@@ -88,4 +87,3 @@ class UrgencyAggregator implements AggregatorInterface
return 'Group calendars by urgency';
}
}