Some tests.

This commit is contained in:
James Cole
2016-01-17 15:48:18 +01:00
parent 68cdfd00b0
commit e6db49c20c
5 changed files with 142 additions and 0 deletions

View File

@@ -73,6 +73,10 @@ class Range
Session::put('first', Carbon::now()->startOfYear());
}
}
// check "sum of everything".
$current = Carbon::now()->formatLocalized('%B %Y');
$next = Carbon::now()->endOfMonth()->addDay()->formatLocalized('%B %Y');
$prev = Carbon::now()->startOfMonth()->subDay()->formatLocalized('%B %Y');