mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	improved request and balance range date handling
This commit is contained in:
		| @@ -84,7 +84,7 @@ class AccountController extends Controller | ||||
|         $data        = $request->getData(); | ||||
|         $types       = $data['types']; | ||||
|         $query       = $data['query']; | ||||
|         $date        = $data['date'] ?? today(config('app.timezone')); | ||||
|         $date        = $data['date']; | ||||
|         $return      = []; | ||||
|         $timer       = Timer::getInstance(); | ||||
|         $timer->start(sprintf('AC accounts "%s"', $query)); | ||||
|   | ||||
| @@ -589,8 +589,6 @@ class BasicController extends Controller | ||||
| 
 | ||||
|     private function getNetWorthInfo(Carbon $end): array | ||||
|     { | ||||
|         $end->endOfDay(); | ||||
| 
 | ||||
|         /** @var User $user */ | ||||
|         $user           = auth()->user(); | ||||
|         Log::debug(sprintf('getNetWorthInfo up until "%s".', $end->format('Y-m-d H:i:s'))); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user