Some last minute fixes.

This commit is contained in:
James Cole
2018-06-02 18:19:35 +02:00
parent d4779c8c8f
commit a6b09acd5e
9 changed files with 50 additions and 11 deletions

View File

@@ -289,8 +289,8 @@ class TagController extends Controller
{
// get first and last tag date from tag:
$range = Preferences::get('viewRange', '1M')->data;
$start = app('navigation')->startOfPeriod($this->repository->firstUseDate($tag), $range);
$end = app('navigation')->endOfPeriod($this->repository->lastUseDate($tag), $range);
$start = app('navigation')->startOfPeriod($this->repository->firstUseDate($tag), $range)->startOfMonth();
$end = app('navigation')->endOfPeriod($this->repository->lastUseDate($tag), $range)->endOfMonth();
// properties for entries with their amounts.
$cache = new CacheProperties;