Fixed some more reports and charts. [skip ci]

This commit is contained in:
James Cole
2015-05-20 07:07:46 +02:00
parent 7a0ad5a587
commit 95ef691077
9 changed files with 109 additions and 38 deletions

View File

@@ -73,9 +73,9 @@ class Range
Session::put('first', Carbon::now()->startOfYear());
}
}
$current = Carbon::now()->format('F Y');
$next = Carbon::now()->endOfMonth()->addDay()->format('F Y');
$prev = Carbon::now()->startOfMonth()->subDay()->format('F Y');
$current = Carbon::now()->formatLocalized('%B %Y');
$next = Carbon::now()->endOfMonth()->addDay()->formatLocalized('%B %Y');
$prev = Carbon::now()->startOfMonth()->subDay()->formatLocalized('%B %Y');
View::share('currentMonthName', $current);
View::share('previousMonthName', $prev);
View::share('nextMonthName', $next);