mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 02:53:50 +00:00
adjust property name to make it work with changes calendar bundle
This commit is contained in:
@@ -55,10 +55,10 @@ class MonthYearAggregator implements AggregatorInterface
|
||||
return 'by month and year';
|
||||
}
|
||||
|
||||
$month = substr($value, 0, 2);
|
||||
$year = 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));
|
||||
return strftime('%B %G', mktime(0, 0, 0, $month, 1, $year));
|
||||
};
|
||||
}
|
||||
|
||||
@@ -69,6 +69,6 @@ class MonthYearAggregator implements AggregatorInterface
|
||||
|
||||
public function getTitle(): string
|
||||
{
|
||||
return 'Group appointments by month and year';
|
||||
return 'Group calendars by month and year';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user