mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-18 12:28:46 +00:00
Increased test coverage. Also updated read me.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<?php
|
||||
|
||||
namespace FireflyIII\Shared\Toolkit;
|
||||
use Carbon\Carbon;
|
||||
use FireflyIII\Exception\FireflyException;
|
||||
|
||||
/**
|
||||
@@ -23,7 +24,7 @@ class Navigation
|
||||
$filter = new Filter;
|
||||
|
||||
$range = $filter->setSessionRangeValue();
|
||||
$start = \Session::get('start');
|
||||
$start = \Session::get('start', Carbon::now()->startOfMonth());
|
||||
|
||||
/*
|
||||
* Add some period to $start.
|
||||
@@ -50,7 +51,7 @@ class Navigation
|
||||
$filter = new Filter;
|
||||
|
||||
$range = $filter->setSessionRangeValue();
|
||||
$start = \Session::get('start');
|
||||
$start = \Session::get('start', Carbon::now()->startOfMonth());
|
||||
|
||||
/*
|
||||
* Substract some period to $start.
|
||||
|
||||
Reference in New Issue
Block a user