fixed report
This commit is contained in:
parent
44421e39d6
commit
457e43f5b9
|
|
@ -145,9 +145,9 @@ class AuthRepository {
|
|||
|
||||
startDate = Jalali(shamsiYear, shamsiMounth, 1);
|
||||
Jalali endDate = Jalali(
|
||||
shamsiYear,
|
||||
shamsiMounth + 1 > 12 ? 12 : shamsiMounth + 1,
|
||||
shamsiMounth + 1 > 12 ? 30 : 1)
|
||||
shamsiMounth == 12 ? shamsiYear + 1 : shamsiYear,
|
||||
shamsiMounth == 12 ? 1 : shamsiMounth + 1,
|
||||
1)
|
||||
.addDays(-1);
|
||||
Gregorian sMiladiDate = startDate.toGregorian();
|
||||
Gregorian eMiladiDate = endDate.toGregorian();
|
||||
|
|
@ -174,9 +174,9 @@ class AuthRepository {
|
|||
|
||||
startDate = Jalali(shamsiYear, shamsiMounth, 1);
|
||||
Jalali endDate = Jalali(
|
||||
shamsiYear,
|
||||
shamsiMounth + 1 > 12 ? 12 : shamsiMounth + 1,
|
||||
shamsiMounth + 1 > 12 ? 30 : 1)
|
||||
shamsiMounth == 12 ? shamsiYear + 1 : shamsiYear,
|
||||
shamsiMounth == 12 ? 1 : shamsiMounth + 1,
|
||||
1)
|
||||
.addDays(-1);
|
||||
|
||||
Gregorian sMiladiDate = startDate.toGregorian();
|
||||
|
|
|
|||
Loading…
Reference in New Issue