carbon stuff
This commit is contained in:
@@ -46,8 +46,8 @@ class FinancesController extends Controller
|
|||||||
$end->hour = 23;
|
$end->hour = 23;
|
||||||
$end->minute = 59;
|
$end->minute = 59;
|
||||||
$end->second = 59;
|
$end->second = 59;
|
||||||
$startLast = Carbon::now()->firstDayOfPreviousMonth();
|
$startLast = new Carbon('first day of last month');
|
||||||
$endLast = Carbon::now()->lastDayOfPreviousMonth();
|
$endLast = new Carbon('last day of last month');
|
||||||
$endLast->hour = 23;
|
$endLast->hour = 23;
|
||||||
$endLast->minute = 59;
|
$endLast->minute = 59;
|
||||||
$endLast->second = 59;
|
$endLast->second = 59;
|
||||||
|
|||||||
Reference in New Issue
Block a user