The table presents a calculation error in the totalizer, when the date field is grouped by month/year.
The example below shows the summary for the month of May adding only the last record.
In this case I am using: ->configure([Table::$defaultDateDisplayFormat = 'F Y'])
Expected behavior
When not grouping, the sum is obtained correctly, but the grouping is by day/month/year
//->configure([Table::$defaultDateDisplayFormat = 'F Y'])
Steps to reproduce
This is the code used:
` public function table(Table $table): Table
{
return $table
Package
filament/filament
Package Version
v3.2.91
Laravel Version
v10.48.11
Livewire Version
v3.5.0
PHP Version
PHP 8.2.16
Problem description
The table presents a calculation error in the totalizer, when the date field is grouped by month/year. The example below shows the summary for the month of May adding only the last record. In this case I am using:
->configure([Table::$defaultDateDisplayFormat = 'F Y'])
Expected behavior
When not grouping, the sum is obtained correctly, but the grouping is by day/month/year![image](https://github.com/filamentphp/filament/assets/102530635/f5fccbff-a5ee-4f23-b949-ca43ca943ede)
//->configure([Table::$defaultDateDisplayFormat = 'F Y'])
Steps to reproduce
This is the code used:
` public function table(Table $table): Table { return $table
Reproduction repository (issue will be closed if this is not valid)
https://github.com/rodrigodeniel/filament-table-error
Relevant log output
No response
Donate 💰 to fund this issue