Merge pull request #3217 from CihanSenturk/fix-date-filter-long-month-issue

The issue of displaying long months in the date filter has been resol…
This commit is contained in:
Cüneyt Şentürk 2024-09-25 16:44:46 +01:00 committed by GitHub
commit bc70c4f4e2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ trait DateTime
],
trans('general.date_range.previous_month') => [
'start' => $financial_month->copy()->getStartDate()->subMonth()->toDateString(),
'end' => $financial_month->copy()->getEndDate()->subMonth()->toDateString(),
'end' => $financial_month->copy()->getEndDate()->subMonth()->endOfMonth()->toDateString(),
],
trans('general.date_range.previous_quarter') => [
'start' => $financial_quarter->copy()->getStartDate()->subQuarter()->toDateString(),